Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f5ea4b3
)
Decided that delete_in_dir()'s call to delete_file() would be
author
Wayne Davison
<wayned@samba.org>
Thu, 20 Jan 2005 23:51:55 +0000
(23:51 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 20 Jan 2005 23:51:55 +0000
(23:51 +0000)
better using DEL_RECURSE.
receiver.c
patch
|
blob
|
blame
|
history
diff --git
a/receiver.c
b/receiver.c
index
88552f4
..
c9a3c8a
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-111,7
+111,7
@@
void delete_files(struct file_list *flist)
}
} else {
delete_file(f, S_ISDIR(mode)
}
} else {
delete_file(f, S_ISDIR(mode)
-
? DEL_DIR | DEL_NO
_RECURSE : 0);
+
? DEL_DIR | DEL
_RECURSE : 0);
}
deletion_count++;
}
}
deletion_count++;
}