Make symlink iconv work for a local copy.
authorWayne Davison <wayned@samba.org>
Sun, 29 Mar 2009 20:23:56 +0000 (13:23 -0700)
committerWayne Davison <wayned@samba.org>
Sun, 29 Mar 2009 20:24:15 +0000 (13:24 -0700)
Fixes issue mention in bug #5615.

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) {