No need to check both delete_after and delete_mode since the former
authorWayne Davison <wayned@samba.org>
Thu, 22 Jul 2004 02:52:57 +0000 (02:52 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 22 Jul 2004 02:52:57 +0000 (02:52 +0000)
implies the latter.

receiver.c

index fab410b5d62eb41a0eb4eb74b5c4a8c063e06908..fcde60f82c21580fbcfd071b24bee70616b4c630 100644 (file)
@@ -566,8 +566,7 @@ int recv_files(int f_in, struct file_list *flist, char *local_name)
        }
        make_backups = save_make_backups;
 
-       if (delete_after && recurse && delete_mode && !local_name
-           && flist->count > 0)
+       if (delete_after && recurse && !local_name && flist->count > 0)
                delete_files(flist);
 
        if (verbose > 2)