aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-02 01:31:33 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-02 01:31:33 +0800
commit90dabbdb225e6c5be9ee5def817254e3aa65040c (patch)
tree2962eb0f14cd3f58f1886288803a41d85eb64470 /camel/camel-mime-utils.c
parent47497db453865f7db72ec6aa3ff553762b1b501e (diff)
downloadgsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.tar
gsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.tar.gz
gsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.tar.bz2
gsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.tar.lz
gsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.tar.xz
gsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.tar.zst
gsoc2013-evolution-90dabbdb225e6c5be9ee5def817254e3aa65040c.zip
Reconstify variables to match iconv.
2001-03-02 Not Zed <NotZed@Ximian.com> * camel-mime-utils.c (rfc2047_encode_word, rfc2047_decode_word): Reconstify variables to match iconv. * camel-search-private.c (camel_ustrstrcase): Change some assertions back into valid returns. svn path=/trunk/; revision=8452
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index b663ffab90..ad2a200708 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -902,7 +902,7 @@ rfc2047_decode_word(const char *in, int len)
{
const char *inptr = in+2;
const char *inend = in+len-2;
- char *inbuf;
+ const char *inbuf;
char *encname;
int tmplen;
int ret;
@@ -1143,7 +1143,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));