aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-07 05:50:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-07 05:50:37 +0800
commit7c6a688ab9a931e69435412d47b432d9c703d2df (patch)
tree9e53df50012f3df4156da08caa9c9e1ac5359630 /camel/camel-mime-utils.c
parentb301988ec3c7089112b6346c3bb6b22d2edcdeef (diff)
downloadgsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.tar
gsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.tar.gz
gsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.tar.bz2
gsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.tar.lz
gsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.tar.xz
gsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.tar.zst
gsoc2013-evolution-7c6a688ab9a931e69435412d47b432d9c703d2df.zip
Rewrote using unicode_get_utf8(). (camel_ustrcasecmp): Use unicode_char_t
2001-02-06 Jeffrey Stedfast <fejj@ximian.com> * camel-search-private.c (utf8_get): Rewrote using unicode_get_utf8(). (camel_ustrcasecmp): Use unicode_char_t (camel_ustrncasecmp): Same. svn path=/trunk/; revision=8026
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index ab41258582..a300700548 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -869,13 +869,14 @@ rfc2047_decode_word(const char *in, int len)
{
const char *inptr = in+2;
const char *inend = in+len-2;
+ const char *inbuf;
char *encname;
int tmplen;
int ret;
char *decword = NULL;
char *decoded = NULL;
char *outbase = NULL;
- char *inbuf, *outbuf;
+ char *outbuf;
int inlen, outlen;
iconv_t ic;
@@ -1109,7 +1110,7 @@ rfc2047_encode_word(GString *outstring, const char *in, int len, const char *typ
iconv_t ic = (iconv_t *)-1;
char *buffer, *out, *ascii;
size_t inlen, outlen, enclen, bufflen;
- char *inptr, *p;
+ const char *inptr, *p;
int first = 1;
d(printf("Converting [%d] '%.*s' to %s\n", len, len, in, type));
@@ -1118,7 +1119,7 @@ rfc2047_encode_word(GString *outstring, const char *in, int len, const char *typ
bufflen = len*6+16;
buffer = alloca(bufflen);
inlen = len;
- inptr = (char *) in;
+ inptr = in;
ascii = alloca(bufflen);