From b61665d5b61cfc322579028b4b54438d8b80ac91 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 7 Oct 2007 20:43:49 +0000 Subject: 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. --- pipe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pipe.c') 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); } -- cgit v1.2.3