projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e1faf
)
* this one needs to be zeroed too
author
Wilfried Göesgens
<willi@citadel.org>
Sat, 9 Aug 2008 10:54:30 +0000
(10:54 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sat, 9 Aug 2008 10:54:30 +0000
(10:54 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index b3e13075e7fbaa151499f92231bd151abcf69ae4..e0840e2f45766385f367d5260137ee36fb9219ed 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-56,6
+56,7
@@
StrBuf* NewStrBufDup(const StrBuf *CopyMe)
memcpy(NewBuf->buf, CopyMe->buf, CopyMe->BufUsed + 1);
NewBuf->BufUsed = CopyMe->BufUsed;
NewBuf->BufSize = CopyMe->BufSize;
+ NewBuf->ConstBuf = 0;
return NewBuf;
}