diff options
author | 1 <NotZed@Ximian.com> | 2001-10-12 06:08:20 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-12 06:08:20 +0800 |
commit | a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13 (patch) | |
tree | ae2d252c33e30e674ad58be332f3cd98e409e3db /camel/camel-sasl-digest-md5.c | |
parent | 736e73548cb39a7aaad61f01704ac60ccb74f79e (diff) | |
download | gsoc2013-evolution-a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13.tar.gz gsoc2013-evolution-a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13.tar.zst gsoc2013-evolution-a5fa3f992dd32fdf99bfcf550a8ce62df2b74d13.zip |
Removed charset/locale charset lookup and iconv_open/close functions,
2001-10-11 <NotZed@Ximian.com>
* camel-charset-map.[ch]: Removed charset/locale charset lookup
and iconv_open/close functions, moved to gal. Fixed all callers.
svn path=/trunk/; revision=13602
Diffstat (limited to 'camel/camel-sasl-digest-md5.c')
-rw-r--r-- | camel/camel-sasl-digest-md5.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-sasl-digest-md5.c b/camel/camel-sasl-digest-md5.c index b2f2427048..7a34fa59b7 100644 --- a/camel/camel-sasl-digest-md5.c +++ b/camel/camel-sasl-digest-md5.c @@ -33,7 +33,7 @@ #include "camel-mime-utils.h" #include "camel-charset-map.h" #include <e-util/md5-utils.h> - +#include <gal/util/e-iconv.h> #define d(x) @@ -698,11 +698,11 @@ digest_response (struct _DigestResponse *resp) const char *buf; iconv_t cd; - charset = camel_charset_locale_name (); + charset = e_iconv_locale_charset(); if (!charset) charset = "iso-8859-1"; - cd = camel_charset_iconv_open (resp->charset, charset); + cd = e_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) - camel_charset_iconv_close (cd); + e_iconv_close (cd); g_byte_array_append (buffer, username, strlen (username)); g_free (username); |