From: Alan Jack Pippin <ajp@pippin.(none)>
Date: Thu, 2 Mar 2006 03:35:35 +0000 (-0700)
Subject: Removed (0 != space) check from while loop in copy_until_full() method.
X-Git-Tag: release-0.6~6
X-Git-Url: http://git.pippins.net/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/static/static/git-logo.png?a=commitdiff_plain;h=cee8aedd92395f34bd7077a33eab5fe528c61387;p=backups%2F.git

Removed (0 != space) check from while loop in copy_until_full() method.
---

diff --git a/main.cpp b/main.cpp
index 0086106..80385fe 100644
--- 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;