projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a2be30
)
* move the pointer one to the right, else we will loop infinite.
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 14 Mar 2010 23:28:02 +0000
(23:28 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 14 Mar 2010 23:28:02 +0000
(23:28 +0000)
-- Diese und die folgenden Zeilen werden ignoriert --
M lib/stringbuf.c
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index f0506886a4954df301132f4f440d306ddb10145b..160a33563cb0420b5bc711685f19e4773cc3db67 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-987,6
+987,8
@@
void StrBufStripAllBut(StrBuf *Buf, char leftboundary, char rightboundary)
while (pBuff != NULL) {
pLeft = pBuff;
pBuff = strchr(pBuff, leftboundary);
+ if (pBuff != NULL)
+ pBuff++;
}
if (pLeft != NULL)