mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 21:04:15 -04:00
A daemon needs to call setup_iconv() after parsing the options
it receives.
This commit is contained in:
1 parent
e96c7777d7
commit
3e8fe565ed
1 file changed
+4
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user