git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10ce5fb
)
send "." filenames so the other end knows that a directory was sent
author
Andrew Tridgell
<tridge@samba.org>
Thu, 30 Oct 1997 08:07:28 +0000
(08:07 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 30 Oct 1997 08:07:28 +0000
(08:07 +0000)
flist.c
patch
|
blob
|
history
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");
}
- if (strcmp(file->name,"
.") && strcmp(file->name,"
/")) {
+ if (strcmp(file->name,"/")) {
flist->files[flist->count++] = *file;
send_file_entry(file,f);
}