From: Andrew Tridgell Date: Thu, 30 Oct 1997 08:07:28 +0000 (+0000) Subject: send "." filenames so the other end knows that a directory was sent X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e9d4e304ea80036046e6bc883c240c3ecdebc7fe send "." filenames so the other end knows that a directory was sent --- diff --git a/flist.c b/flist.c index 59e451b1..b3aaff14 100644 --- 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); }