projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739d49d
)
* load_mimepart() was including protocol chatter in its data buffer. Fixed.
author
Art Cancro
<ajc@citadel.org>
Tue, 12 May 2009 20:42:08 +0000
(20:42 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 12 May 2009 20:42:08 +0000
(20:42 +0000)
webcit/messages.c
patch
|
blob
|
history
webcit/notes.c
patch
|
blob
|
history
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);
}
diff --git
a/webcit/notes.c
b/webcit/notes.c
index 4222ed279d7105087051f4542994ff7b383ab8ba..ab4dfff5dff9b728be78c7b4754c0ff20563df1a 100644
(file)
--- a/
webcit/notes.c
+++ b/
webcit/notes.c
@@
-125,8
+125,6
@@
struct vnote *vnote_new_from_msg(long msgnum,int unread)
Data = load_mimepart(msgnum, relevant_partnum);
}
- lprintf(9, "Data is: %s\n", ChrPtr(Data));
-
if (StrLength(Data) > 0) {
if (!IsEmptyStr(uid_from_headers)) {
// Convert an old-style note to a vNote