projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6377ec
)
FB->ReadWritePointer has to point to FB->Buf->Buf if the buffer is nonempty; logic...
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 1 Sep 2011 16:34:44 +0000
(16:34 +0000)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 1 Sep 2011 16:34:44 +0000
(16:34 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 044cecf0a65037c3f7d2fb9784c8c41913b4ef2e..082cd7046854db4fe69935c1a692ddff700de2b6 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-3715,7
+3715,7
@@
eReadState StrBufChunkSipLine(StrBuf *LineBuf, IOBuffer *FB)
*/
StrBufCutLeft(FB->Buf,
FB->ReadWritePointer - FB->Buf->buf);
- FB->ReadWritePointer =
NULL
;
+ FB->ReadWritePointer =
FB->Buf->buf
;
}
return eMustReadMore;
}