X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Flib%2Ftools.c;fp=libcitadel%2Flib%2Ftools.c;h=2eafddaaaa4e602d865c1052581f23eb299a0f61;hb=11b27ee27a3d6d28e926e4ccd936dd10da17bb29;hp=c0d3f9f1e00f0ef063ae6482f0785b84980cabfb;hpb=951fbe7c1ee0b3554af22d6ae0d1d51c1642ae0f;p=citadel.git diff --git a/libcitadel/lib/tools.c b/libcitadel/lib/tools.c index c0d3f9f1e..2eafddaaa 100644 --- a/libcitadel/lib/tools.c +++ b/libcitadel/lib/tools.c @@ -445,9 +445,9 @@ int CtdlDecodeBase64(char *dest, const char *source, size_t length) /* * if we send out non ascii subjects, we encode it this way. */ -char *rfc2047encode(char *line, long length) +char *rfc2047encode(const char *line, long length) { - char *AlreadyEncoded; + const char *AlreadyEncoded; char *result; long end; #define UTF8_HEADER "=?UTF-8?B?"