projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* duplicate memreadline & bmstrcasestr to a const and non const version
[citadel.git]
/
citadel
/
modules
/
imap
/
imap_fetch.c
diff --git
a/citadel/modules/imap/imap_fetch.c
b/citadel/modules/imap/imap_fetch.c
index 0ee327cb87ade858d3cbeb4d5d34b7f06659ce83..0a6ee4f1eea60ae03749535332ac0af19be90b71 100644
(file)
--- a/
citadel/modules/imap/imap_fetch.c
+++ b/
citadel/modules/imap/imap_fetch.c
@@
-946,7
+946,7
@@
void imap_fetch_bodystructure (long msgnum, const char *item,
ptr = rfc822;
do {
- ptr = memreadline(ptr, buf, sizeof buf);
+ ptr =
c
memreadline(ptr, buf, sizeof buf);
++lines;
if ((IsEmptyStr(buf)) && (rfc822_body == NULL)) {
rfc822_body = ptr;