Don't try to help the ACKs for the --remove-sent-file option
authorWayne Davison <wayned@samba.org>
Wed, 15 Feb 2006 20:09:49 +0000 (20:09 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 15 Feb 2006 20:09:49 +0000 (20:09 +0000)
when --delay-updates was specified.

generator.c

index 3a30efd..5577624 100644 (file)
@@ -1231,7 +1231,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
                rprintf(FINFO, "generating and sending sums for %d\n", ndx);
 
   notify_others:
-       if (remove_sent_files && !phase)
+       if (remove_sent_files && !delay_updates && !phase)
            increment_active_files(ndx, itemizing, code);
        write_int(f_out, ndx);
        if (itemizing) {