projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395296b
)
* we did that +1 two lines above to avaid infinite loops
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 15 Mar 2010 07:36:45 +0000
(07:36 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 15 Mar 2010 07:36:45 +0000
(07:36 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 160a33563cb0420b5bc711685f19e4773cc3db67..aa4abdeeaca779aefb36fa9cb249dc2eed7f32cf 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-999,7
+999,7
@@
void StrBufStripAllBut(StrBuf *Buf, char leftboundary, char rightboundary)
if (pRight != NULL)
StrBufCutAt(Buf, 0, pRight - 1);
if (pLeft != NULL)
- StrBufCutLeft(Buf, pLeft - Buf->buf
+ 1
);
+ StrBufCutLeft(Buf, pLeft - Buf->buf);
}