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-Tag: v1.6.4~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9d4e304ea80036046e6bc883c240c3ecdebc7fe;p=thirdparty%2Frsync.git 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); }