This should've never worked. I'm a little dissappointed that it did.
authorCarl N Baldwin <cnb@hpsvcnb.fc.hp.com>
Thu, 10 Nov 2005 17:18:51 +0000 (10:18 -0700)
committerCarl N Baldwin <cnb@hpsvcnb.fc.hp.com>
Thu, 10 Nov 2005 17:18:51 +0000 (10:18 -0700)
main.cpp

index 06d1a2f9ecf0847e73e47d83dc0c17df4c2f17f8..4e7116368fea465c46528b374ba6b63063acd541 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -35,7 +35,7 @@ bool copy_until_full( I begin, I end, O out, INT &space ) {
 
     if( blocksize <= space ) {
       space -= blocksize;
-      out = *begin;
+      *out = *begin;
       ++out;
     } else {
       // We missed a file that should be included so the backup is not complete