projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebc6b6
)
* if we do a half baked static strbuf for extracting numbers, we have to say its...
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 12 Feb 2009 21:40:19 +0000
(21:40 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 12 Feb 2009 21:40:19 +0000
(21:40 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index 1c544d9d10714ca644ac744450d4ad6901d74e1e..3d6493dcee00479e253281a6558acbe736583ac9 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-952,6
+952,7
@@
int StrBufExtract_int(const StrBuf* Source, int parmnum, char separator)
buf[0] = '\0';
tmp.BufSize = 64;
tmp.BufUsed = 0;
+ tmp.ConstBuf = 1;
if (StrBufExtract_token(&tmp, Source, parmnum, separator) > 0)
return(atoi(buf));
else