From: Wayne Davison Date: Sun, 29 Mar 2009 20:23:56 +0000 (-0700) Subject: Make symlink iconv work for a local copy. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/eecc969e9bc7a9ed6e98df72abaa8d3c6787dac2 Make symlink iconv work for a local copy. Fixes issue mention in bug #5615. --- diff --git a/compat.c b/compat.c index 6e000724..5ba9a4ce 100644 --- a/compat.c +++ b/compat.c @@ -270,7 +270,7 @@ void setup_protocol(int f_out,int f_in) #endif #ifdef ICONV_OPTION sender_symlink_iconv = iconv_opt && (am_server - ? strchr(client_info, 's') != NULL + ? local_server || strchr(client_info, 's') != NULL : !!(compat_flags & CF_SYMLINK_ICONV)); #endif if (inc_recurse && !allow_inc_recurse) {