diff options
author | 2 <NotZed@Ximian.com> | 2001-10-03 08:12:49 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-03 08:12:49 +0800 |
commit | 65014a74aa55209e8e5b65549be26645dabd7cba (patch) | |
tree | b64e6409bde5e0b0310df1928b30fd3d85c831cd /camel/camel-sasl-digest-md5.c | |
parent | 7d2487975feeee0be69890e92fe3eca609fe25c3 (diff) | |
download | gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.tar gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.tar.gz gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.tar.bz2 gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.tar.lz gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.tar.xz gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.tar.zst gsoc2013-evolution-65014a74aa55209e8e5b65549be26645dabd7cba.zip |
Change to camel_charset_iconv_open/close.
2001-10-02 <NotZed@Ximian.com>
* camel-sasl-digest-md5.c (digest_response): Change to
camel_charset_iconv_open/close.
* camel-pgp-context.c (pgp_verify): Change to
camel_charset_iconv_open/close.
* camel-mime-part-utils.c (convert_buffer): Change to
camel_charset_iconv_open().
* camel-mime-filter-charset.c
(camel_mime_filter_charset_new_convert, finalise): Change to
camel_charset_iconv_open, etc.
* camel-mime-utils.c: Use the camel_charset_iconv_open/close()
functions to open/close it.
* camel-charset-map.c (camel_charset_iconv_open): New function,
wrap iconv_open, so we can cache ic's.
(camel_charset_iconv_close): Likewise for close.
(camel_charset_map_init,shutdown): Init/free iconv cache.
svn path=/trunk/; revision=13361
Diffstat (limited to 'camel/camel-sasl-digest-md5.c')
-rw-r--r-- | camel/camel-sasl-digest-md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-sasl-digest-md5.c b/camel/camel-sasl-digest-md5.c index 106414fa2c..b2f2427048 100644 --- a/camel/camel-sasl-digest-md5.c +++ b/camel/camel-sasl-digest-md5.c @@ -702,7 +702,7 @@ digest_response (struct _DigestResponse *resp) if (!charset) charset = "iso-8859-1"; - cd = iconv_open (resp->charset, charset); + cd = camel_charset_iconv_open (resp->charset, charset); len = strlen (resp->username); outlen = 2 * len; /* plenty of space */ @@ -720,7 +720,7 @@ digest_response (struct _DigestResponse *resp) } if (cd != (iconv_t) -1) - iconv_close (cd); + camel_charset_iconv_close (cd); g_byte_array_append (buffer, username, strlen (username)); g_free (username); |