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 (parent:
a7ed6ca
)
Got rid of an ancient (and no longer relevant) comment.
author
Wayne Davison
<wayned@samba.org>
Tue, 23 Mar 2004 16:36:00 +0000
(16:36 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 23 Mar 2004 16:36:00 +0000
(16:36 +0000)
receiver.c
patch
|
blob
|
blame
|
history
diff --git
a/receiver.c
b/receiver.c
index
75bf0ce
..
da383be
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-69,9
+69,8
@@
static int is_backup_file(char *fn)
}
}
-/* this deletes any files on the receiving side that are not present
- * on the sending side. For version 1.6.4 I have changed the behaviour
- * to match more closely what most people seem to expect of this option */
+/* This deletes any files on the receiving side that are not present
+ * on the sending side. */
void delete_files(struct file_list *flist)
{
struct file_list *local_file_list;
void delete_files(struct file_list *flist)
{
struct file_list *local_file_list;
@@
-90,7
+89,7
@@
void delete_files(struct file_list *flist)
return;
}
return;
}
- for (j = 0;j < flist->count; j++) {
+ for (j = 0;
j < flist->count; j++) {
if (!(flist->files[j]->flags & FLAG_TOP_DIR)
|| !S_ISDIR(flist->files[j]->mode))
continue;
if (!(flist->files[j]->flags & FLAG_TOP_DIR)
|| !S_ISDIR(flist->files[j]->mode))
continue;