]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Decided that delete_in_dir()'s call to delete_file() would be
authorWayne Davison <wayned@samba.org>
Thu, 20 Jan 2005 23:51:55 +0000 (23:51 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 20 Jan 2005 23:51:55 +0000 (23:51 +0000)
better using DEL_RECURSE.

receiver.c

index 88552f4bf0a7d01f0eccdf9575e5a5b6668cdd96..c9a3c8a1bdc2eee102379d38cc2d739fec74c4fe 100644 (file)
@@ -111,7 +111,7 @@ void delete_files(struct file_list *flist)
                                        }
                                } else {
                                        delete_file(f, S_ISDIR(mode)
-                                           ? DEL_DIR | DEL_NO_RECURSE : 0);
+                                               ? DEL_DIR | DEL_RECURSE : 0);
                                }
                                deletion_count++;
                        }