aboutsummaryrefslogtreecommitdiffstats
path: root/pipe.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-10-07 20:43:49 +0000
committerWayne Davison <wayned@samba.org>2007-10-07 20:43:49 +0000
commitb61665d5b61cfc322579028b4b54438d8b80ac91 (patch)
treed3e929c0d7b0785ea50266fc8b68e7cd2cbee39c /pipe.c
parent38943d29d32dab09eb2eb952fedbf4d319ffa13b (diff)
downloadandroid_external_rsync-b61665d5b61cfc322579028b4b54438d8b80ac91.tar.gz
android_external_rsync-b61665d5b61cfc322579028b4b54438d8b80ac91.tar.bz2
android_external_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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pipe.c b/pipe.c
index 50c78c42..f3cea83f 100644
--- a/pipe.c
+++ b/pipe.c
@@ -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);
}