projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b77653
)
if the StrBuf or its parts are NULL, we can't do any work.
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 29 Sep 2013 16:04:40 +0000
(18:04 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 29 Sep 2013 16:04:40 +0000
(18:04 +0200)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 4cee2be32980d3133f41bdd9749a48ae850b375e..cdb4ccd0a8fb48c631877b2205ad8474281058f0 100644
(file)
--- 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;
}