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 88552f4..c9a3c8a 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++;
                        }