From: Wilfried Goesgens Date: Sun, 29 Sep 2013 16:04:40 +0000 (+0200) Subject: if the StrBuf or its parts are NULL, we can't do any work. X-Git-Tag: v8.22~11 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=4b792e14164c58733ee325e788ffdf617801d269 if the StrBuf or its parts are NULL, we can't do any work. --- diff --git a/libcitadel/lib/stringbuf.c b/libcitadel/lib/stringbuf.c index 1b9ea0723..cdbd3651d 100644 --- a/libcitadel/lib/stringbuf.c +++ b/libcitadel/lib/stringbuf.c @@ -1177,7 +1177,6 @@ void StrBufStripAllBut(StrBuf *Buf, char leftboundary, char rightboundary) const char *pRight; if ((Buf == NULL) || (Buf->buf == NULL)) { - StrBufCutAt(Buf, 0, Buf->buf); return; }