projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* load_mimepart() was including protocol chatter in its data buffer. Fixed.
[citadel.git]
/
webcit
/
messages.c
diff --git
a/webcit/messages.c
b/webcit/messages.c
index fd9c6e8b075de8f5ad5cd96aeace44e3eb173310..97d7f02fb404ccff6305882e528a8b9b93bfaac8 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-1626,7
+1626,8
@@
StrBuf *load_mimepart(long msgnum, char *partnum)
if (GetServerStatus(Buf, NULL) == 6) {
StrBufCutLeft(Buf, 4);
bytes = StrBufExtract_long(Buf, 0, '|');
-
+ FreeStrBuf(&Buf);
+ Buf = NewStrBuf();
StrBuf_ServGetBLOBBuffered(Buf, bytes);
return(Buf);
}