summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2013-10-27 08:58:06 -0700
committerWayne Davison <wayned@samba.org>2013-10-27 09:49:16 -0700
commitf643330eb1dc3bb1c15228f8d6cfde1454be87b7 (patch)
tree68a0bbf7b4fdc48ce084e109277addd21c7ae337 /options.c
parentbc0d094d2ac70f328d24230af930a79a8b794090 (diff)
downloadrsync-f643330eb1dc3bb1c15228f8d6cfde1454be87b7.tar.gz
Restore sending of "-ef" marker to the server.
Diffstat (limited to 'options.c')
-rw-r--r--options.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/options.c b/options.c
index cebf2569..cc2c1ef9 100644
--- 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... */