From: Wilfried Göesgens Date: Thu, 29 Jul 2010 20:54:47 +0000 (+0000) Subject: * AppendImportantMessage(): upsi, git remembers what to commit to early X-Git-Tag: v8.01~985 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=68581d18cd0407c6ea08a1758f5ce7ee69700b5e * AppendImportantMessage(): upsi, git remembers what to commit to early --- diff --git a/webcit/webcit.c b/webcit/webcit.c index 90575af7c..71fdef959 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -789,13 +789,12 @@ int Conditional_IS_HTTPS(StrBuf *Target, WCTemplputParams *TP) void AppendImportantMessage(const char *pch, long len) { wcsession *WCC = WC; - int IsNew = 0; if (StrLength(WCC->ImportantMsg) > 0) { - StrBufAppendBufPlain(WCC->ImportantMsg, HKEY("\n")); + StrBufAppendBufPlain(WCC->ImportantMsg, HKEY("\n"), 0); } - StrBufAppendBufPlain(WCC->ImportantMsg, pch, len); + StrBufAppendBufPlain(WCC->ImportantMsg, pch, len, 0); } int ConditionalImportantMesage(StrBuf *Target, WCTemplputParams *TP)