diff options
author | Wayne Davison <wayned@samba.org> | 2007-10-07 20:43:49 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-10-07 20:43:49 +0000 |
commit | b61665d5b61cfc322579028b4b54438d8b80ac91 (patch) | |
tree | d3e929c0d7b0785ea50266fc8b68e7cd2cbee39c /pipe.c | |
parent | 38943d29d32dab09eb2eb952fedbf4d319ffa13b (diff) | |
download | rsync-b61665d5b61cfc322579028b4b54438d8b80ac91.tar.gz rsync-b61665d5b61cfc322579028b4b54438d8b80ac91.tar.bz2 rsync-b61665d5b61cfc322579028b4b54438d8b80ac91.zip |
Reposition the call to setup_iconv() so that it gets called only once
is a local_server copy, and so that arg-parsing code doesn't interfere
with the sending of a remote charset value.
Diffstat (limited to 'pipe.c')
-rw-r--r-- | pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -144,6 +144,7 @@ pid_t local_child(int argc, char **argv, int *f_in, int *f_out, close(to_child_pipe[0]); if (from_child_pipe[1] != STDOUT_FILENO) close(from_child_pipe[1]); + setup_iconv(); child_main(argc, argv); } |