Commit 3e8fe565 authored by Wayne Davison's avatar Wayne Davison

A daemon needs to call setup_iconv() after parsing the options

it receives.
parent e96c7777
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment