* Fix doxygen note for haschar(). The return value is the number of times ch appears...
authorArt Cancro <ajc@citadel.org>
Wed, 18 Aug 2010 14:38:07 +0000 (14:38 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 18 Aug 2010 14:38:07 +0000 (14:38 +0000)
libcitadel/lib/tools.c

index 73f8e778f75418b4b94379c120d8192eed18e091..9060e130c609d7012e639971cbe7cfc1da113aa5 100644 (file)
@@ -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;