From dab8b2201872ca1d7c20fb00d95d55315f4524e6 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 18 Aug 2010 14:38:07 +0000 Subject: [PATCH] * Fix doxygen note for haschar(). The return value is the number of times ch appears in st, not the position at which it appears. --- libcitadel/lib/tools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcitadel/lib/tools.c b/libcitadel/lib/tools.c index 73f8e778f..9060e130c 100644 --- 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; -- 2.30.2