]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Move implied_dot_dir=1, just to be safe.
authorWayne Davison <wayned@samba.org>
Sat, 27 Aug 2011 21:58:04 +0000 (14:58 -0700)
committerWayne Davison <wayned@samba.org>
Sat, 27 Aug 2011 21:58:20 +0000 (14:58 -0700)
flist.c

diff --git a/flist.c b/flist.c
index 8bade1c5489ac127112ebd2a2787e6d0bb64eab5..d3f4f6402881e6fab075b392fa402bcbee7d9eec 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -2240,8 +2240,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
                }
 
                if (implied_dot_dir < 0) {
-                       send_file_name(f, flist, ".", NULL, (flags | FLAG_IMPLIED_DIR) & ~FLAG_CONTENT_DIR, ALL_FILTERS);
                        implied_dot_dir = 1;
+                       send_file_name(f, flist, ".", NULL, (flags | FLAG_IMPLIED_DIR) & ~FLAG_CONTENT_DIR, ALL_FILTERS);
                }
 
                if (fn != fbuf)