projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a8a19
)
fix (no subject) for blank message subjects
author
Matt
<matt@uncensored.citadel.org>
Mon, 15 Dec 2008 05:17:30 +0000
(
05:17
+0000)
committer
Matt
<matt@uncensored.citadel.org>
Mon, 15 Dec 2008 05:17:30 +0000
(
05:17
+0000)
webcit/messages.c
patch
|
blob
|
history
diff --git
a/webcit/messages.c
b/webcit/messages.c
index 008dd74eb0acf92d2887a3859b611b930c435cc8..c407bfba7e7968d7f76d4b2dbc92759d20db6cdf 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-440,7
+440,7
@@
int load_msg_ptrs(char *servcmd, int with_headers)
Msg->subj = NewStrBufPlain(NULL, StrLength(Buf));
StrBufExtract_token(Buf2, Buf, 5, '|');
if (StrLength(Buf2) == 0)
- StrBufAppendBufPlain(Msg->subj, _("(no subj)"),
0, -1
);
+ StrBufAppendBufPlain(Msg->subj, _("(no subj)"),
-1,0
);
else {
StrBuf_RFC822_to_Utf8(Msg->subj, Buf2, WCC->DefaultCharset, FoundCharset);
if ((StrLength(Msg->subj) > 75) &&