Removed (0 != space) check from while loop in copy_until_full() method.
[backups/.git] / main.cpp
index 00861068d1f4e260e7360d6e60905947013092a0..80385fe57651b2098dd9b8a70ba0117b6148b5d9 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -31,7 +31,7 @@ template<class I, class O, class INT>
 bool copy_until_full( I begin, I end, O out, INT &space ) {
   bool complete = true;
 
-  while( 0 != space && begin != end ) {
+  while( begin != end ) {
     INT size = (*begin)->getFileSize();
     INT blocksize = blocks( size ) * bytes_in_block;