X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc2047.c;h=e17325453d17ab2255ad100f27d97bc2cf292970;hp=a81a84963b3b9cc5e4ddf86af4f67534c78d348d;hb=9218fd9d7e2a7976b34683c60cb94f7fda42141a;hpb=5e53f9e5f65aa5b3af6f5af9d868403536534afb diff --git a/rfc2047.c b/rfc2047.c index a81a849..e173254 100644 --- a/rfc2047.c +++ b/rfc2047.c @@ -357,7 +357,7 @@ static int rfc2047_encode (const char *d, size_t dlen, int col, encoder_t encoder; char *tocode1 = 0; const char *tocode; - char *icode = "UTF-8"; + const char *icode = "UTF-8"; /* Try to convert to UTF-8. */ if (convert_string (d, dlen, fromcode, icode, &u, &ulen)) { @@ -520,7 +520,7 @@ void _rfc2047_encode_string (char **pd, int encode_specials, int col) { char *e; size_t elen; - char *charsets; + const char *charsets; if (!Charset || !*pd) return;