git.samba.org
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send "." filenames so the other end knows that a directory was sent
[rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index 59e451b1cbe57206c45323e8dde6397edcdc3627..b3aaff147627e2f439d588aed96541d6dc62d8c6 100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-323,7
+323,7
@@
static void send_file_name(int f,struct file_list *flist,char *fname)
out_of_memory("send_file_name");
}
out_of_memory("send_file_name");
}
- if (strcmp(file->name,"
.") && strcmp(file->name,"
/")) {
+ if (strcmp(file->name,"/")) {
flist->files[flist->count++] = *file;
send_file_entry(file,f);
}
flist->files[flist->count++] = *file;
send_file_entry(file,f);
}