]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Restore sending of "-ef" marker to the server.
authorWayne Davison <wayned@samba.org>
Sun, 27 Oct 2013 15:58:06 +0000 (08:58 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 27 Oct 2013 16:49:16 +0000 (09:49 -0700)
options.c

index cebf25691e121ac485d8b11bec1f14355d1f6e07..cc2c1ef9a82c5219b15e99140eecd78f29f81893 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2456,7 +2456,9 @@ void server_options(char **args, int *argc_p)
 
        set_allow_inc_recurse();
 
-       /* Checking the pre-negotiated value allows --protocol=29 override. */
+       /* We don't really know the actual protocol_version at this point,
+        * but checking the pre-negotiated value allows the user to use a
+        * --protocol=29 override to avoid the use of this -eFLAGS opt. */
        if (protocol_version >= 30) {
                /* We make use of the -e option to let the server know about
                 * any pre-release protocol version && some behavior flags. */
@@ -2477,6 +2479,7 @@ void server_options(char **args, int *argc_p)
 #ifdef ICONV_OPTION
                argstr[x++] = 's';
 #endif
+               argstr[x++] = 'f';
        }
 
        if (x >= (int)sizeof argstr) { /* Not possible... */