send "." filenames so the other end knows that a directory was sent

This commit is contained in:
Andrew Tridgell committed 1997-10-30 08:07:28 +00:00
1 parent 10ce5fbf35
commit e9d4e304ea
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}