aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-09-09 16:36:05 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-09-09 16:36:05 +0000
commitf1ba12607a8be49e5458b6cfa8d0117bb77dc47a (patch)
tree209e048ef175a1d3f4e2fa3cacf9bbfd8961462a
parentbb87b65f083fdace9301eea95376f62b108405a0 (diff)
Duplicate iconv-data too in curl_easy_duphandle().
-rw-r--r--lib/easy.c6
1 files changed, 6 insertions, 0 deletions
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 */