send "." filenames so the other end knows that a directory was sent
authorAndrew Tridgell <tridge@samba.org>
Thu, 30 Oct 1997 08:07:28 +0000 (08:07 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 30 Oct 1997 08:07:28 +0000 (08:07 +0000)
flist.c

diff --git a/flist.c b/flist.c
index 59e451b..b3aaff1 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);
   }