projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52937ef
)
* messages.c: Msg->MsgBody->msgnum = msgnum;
author
Art Cancro
<ajc@citadel.org>
Sun, 11 Jan 2009 05:23:33 +0000
(
05:23
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sun, 11 Jan 2009 05:23:33 +0000
(
05:23
+0000)
This needs review by dothebart to see if there are any side effects
webcit/messages.c
patch
|
blob
|
history
diff --git
a/webcit/messages.c
b/webcit/messages.c
index 3fce730f34356a3d1a5063045030cdf6b02fa608..06a69f7b7992b6c6fba9f112f98369e5e16ddeea 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-88,6
+88,7
@@
int read_message(StrBuf *Target, const char *tmpl, long tmpllen, long msgnum, in
Msg->PartNum = PartNum;
Msg->MsgBody = (wc_mime_attachment*) malloc(sizeof(wc_mime_attachment));
memset(Msg->MsgBody, 0, sizeof(wc_mime_attachment));
+ Msg->MsgBody->msgnum = msgnum;
FoundCharset = NewStrBuf();
while ((StrBuf_ServGetln(Buf)>=0) && !Done) {
if ( (StrLength(Buf)==3) &&