git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
struct dnssec_domains
[exim.git]
/
src
/
src
/
imap_utf7.c
diff --git
a/src/src/imap_utf7.c
b/src/src/imap_utf7.c
index 10cc1f7fa15dc29de644ea860e15e98cf112271c..b2695cdb913169338eb9672d0454578119807566 100644
(file)
--- a/
src/src/imap_utf7.c
+++ b/
src/src/imap_utf7.c
@@
-25,7
+25,7
@@
uschar *outptr = outbuf;
iconv_t icd;
#endif
iconv_t icd;
#endif
-if (!specials) specials = "";
+if (!specials) specials =
US
"";
/* Pass over the string. If it consists entirely of "normal" characters
(possibly with leading seps), return it as is. */
/* Pass over the string. If it consists entirely of "normal" characters
(possibly with leading seps), return it as is. */
@@
-37,7
+37,7
@@
for (s = string; *s; s++)
|| *s < 0x20
|| strchr("./&", *s)
|| *s == sep
|| *s < 0x20
|| strchr("./&", *s)
|| *s == sep
- || strchr(specials, *s)
+ ||
U
strchr(specials, *s)
)
break;
}
)
break;
}
@@
-49,7
+49,7
@@
sptr = string;
slen = Ustrlen(string);
#if HAVE_ICONV
slen = Ustrlen(string);
#if HAVE_ICONV
-if ((icd = iconv_open(
US"UTF-16BE",
charset)) == (iconv_t)-1)
+if ((icd = iconv_open(
"UTF-16BE", CCS
charset)) == (iconv_t)-1)
{
*error = string_sprintf(
"imapfolder: iconv_open(\"UTF-16BE\", \"%s\") failed: %s%s",
{
*error = string_sprintf(
"imapfolder: iconv_open(\"UTF-16BE\", \"%s\") failed: %s%s",