From: Art Cancro Date: Wed, 18 Aug 2010 14:38:07 +0000 (+0000) Subject: * Fix doxygen note for haschar(). The return value is the number of times ch appears... X-Git-Tag: v8.01~876 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=dab8b2201872ca1d7c20fb00d95d55315f4524e6 * Fix doxygen note for haschar(). The return value is the number of times ch appears in st, not the position at which it appears. --- 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;