* AppendImportantMessage(): upsi, git remembers what to commit to early
authorWilfried Göesgens <willi@citadel.org>
Thu, 29 Jul 2010 20:54:47 +0000 (20:54 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 29 Jul 2010 20:54:47 +0000 (20:54 +0000)
webcit/webcit.c

index 90575af7c602c34b93f8b80edeef46cd77ad284b..71fdef9594ff84437aec76265992cb2b3fa3d0af 100644 (file)
@@ -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)