projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidying: coverity issues
[exim.git]
/
src
/
src
/
imap_utf7.c
diff --git
a/src/src/imap_utf7.c
b/src/src/imap_utf7.c
index dcccaeef80fdbdee063339dec972b09ee7919088..0c3d5a20dc125e55f9e1994d96ff86ad67c3cf8c 100644
(file)
--- a/
src/src/imap_utf7.c
+++ b/
src/src/imap_utf7.c
@@
-165,13
+165,12
@@
while (slen > 0)
else
{
*error = string_sprintf("imapfolder: illegal character '%c'", s[1]);
else
{
*error = string_sprintf("imapfolder: illegal character '%c'", s[1]);
- if (yield) store_reset(yield);
return NULL;
}
if (outptr > outbuf + sizeof(outbuf) - 3)
{
return NULL;
}
if (outptr > outbuf + sizeof(outbuf) - 3)
{
- yield = string_cat(yield, &size, &ptr, outbuf, outptr - outbuf);
+ yield = string_cat
n
(yield, &size, &ptr, outbuf, outptr - outbuf);
outptr = outbuf;
}
outptr = outbuf;
}
@@
-197,7
+196,7
@@
if (base64mode)
iconv_close(icd);
#endif
iconv_close(icd);
#endif
-yield = string_cat(yield, &size, &ptr, outbuf, outptr - outbuf);
+yield = string_cat
n
(yield, &size, &ptr, outbuf, outptr - outbuf);
if (yield[ptr-1] == '.')
ptr--;
yield[ptr] = '\0';
if (yield[ptr-1] == '.')
ptr--;
yield[ptr] = '\0';