projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a5460
)
* Fix doxygen note for haschar(). The return value is the number of times ch appears...
author
Art Cancro
<ajc@citadel.org>
Wed, 18 Aug 2010 14:38:07 +0000
(14:38 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 18 Aug 2010 14:38:07 +0000
(14:38 +0000)
libcitadel/lib/tools.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/tools.c
b/libcitadel/lib/tools.c
index 73f8e778f75418b4b94379c120d8192eed18e091..9060e130c609d7012e639971cbe7cfc1da113aa5 100644
(file)
--- a/
libcitadel/lib/tools.c
+++ b/
libcitadel/lib/tools.c
@@
-524,9
+524,9
@@
size_t striplt(char *buf) {
* \brief check for the presence of a character within a string (returns count)
* \param st the string to examine
* \param ch the char to search
- * \return the
position inside of
st
+ * \return the
number of times ch appears in
st
*/
-int haschar(const char *st,int ch)
+int haschar(const char *st,
int ch)
{
const char *ptr;
int b;