projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e768b
)
* upsi forgot debug code..
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 6 Sep 2009 20:50:58 +0000
(20:50 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 6 Sep 2009 20:50:58 +0000
(20:50 +0000)
libcitadel/lib/stringbuf.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/stringbuf.c
b/libcitadel/lib/stringbuf.c
index c18222944349e24e7e1d3d393aff3262a19b8afb..9a6ef47859fda87fabc4f6931dc0a2b5768c6bef 100644
(file)
--- a/
libcitadel/lib/stringbuf.c
+++ b/
libcitadel/lib/stringbuf.c
@@
-1318,25
+1318,20
@@
int StrBufHaveNextToken(const StrBuf *Source, const char **pStart)
Null --;
if ((Source == NULL) || (*pStart == Null))
{
- printf( "1");
return 0;
}
if (*pStart == NULL)
{
- printf( "2");
return 1;
}
else if (*pStart > Source->buf + Source->BufUsed)
{
- printf( "3");
return 0;
}
else if (*pStart <= Source->buf)
{
- printf( "4");
return 0;
}
- printf( "5");
return 1;
}