X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=main.cpp;h=4e7116368fea465c46528b374ba6b63063acd541;hb=a0d9675e7514609651f14794a08ec2b61b0fe12e;hp=06d1a2f9ecf0847e73e47d83dc0c17df4c2f17f8;hpb=3bf11ff8fdf9fe809619f1e31747080ea1a12f88;p=backups%2F.git diff --git a/main.cpp b/main.cpp index 06d1a2f..4e71163 100644 --- 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