Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A daemon needs to call setup_iconv() after parsing the options
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
1e3af63
..
19c2a25
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-703,6
+703,10
@@
static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
if (write_batch < 0)
dry_run = 1;
+#ifdef ICONV_CONST
+ setup_iconv();
+#endif
+
if (lp_fake_super(i))
am_root = -1;
else if (am_root < 0) /* Treat --fake-super from client as --super. */