Don't try to simplify an ACL that has a mask w/o any named values.
[rsync/rsync.git] / compat.c
index 6e00072..5ba9a4c 100644 (file)
--- 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) {