From f1ba12607a8be49e5458b6cfa8d0117bb77dc47a Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Sat, 9 Sep 2006 16:36:05 +0000 Subject: Duplicate iconv-data too in curl_easy_duphandle(). --- lib/easy.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/easy.c b/lib/easy.c index 25d4897b6..37c0c9a01 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -612,6 +612,12 @@ CURL *curl_easy_duphandle(CURL *incurl) break; #endif +#if defined(CURL_DOES_CONVERSIONS) && defined(HAVE_ICONV) + outcurl->outbound_cd = data->outbound_cd; + outcurl->inbound_cd = data->inbound_cd; + outcurl->utf8_cd = data->utf8_cd; +#endif + Curl_easy_initHandleData(outcurl); fail = FALSE; /* we reach this point and thus we are OK */ -- cgit v1.2.3