From: Nick Porter Date: Mon, 6 Jan 2025 12:08:22 +0000 (+0000) Subject: Comment corrections X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=997cdbfd7a21efbaabc56eae93cbdd14522bc25d;p=thirdparty%2Ffreeradius-server.git Comment corrections --- diff --git a/src/lib/server/cf_util.c b/src/lib/server/cf_util.c index 18813dfcc1e..2c459e7b24c 100644 --- a/src/lib/server/cf_util.c +++ b/src/lib/server/cf_util.c @@ -1390,11 +1390,11 @@ bool cf_pair_is_parsed(CONF_PAIR *cp) return cp->parsed; } -/** Return the next child that's a #CONF_PAIR +/** Return the first child that's a #CONF_PAIR * * @param[in] cs to return children from. * @return - * - The next #CONF_ITEM that's a child of cs and a CONF_PAIR. + * - The first #CONF_ITEM that's a child of cs and a CONF_PAIR. * - NULL if no #CONF_ITEM matches that criteria. */ CONF_PAIR *cf_pair_first(CONF_SECTION const *cs) @@ -1415,12 +1415,12 @@ CONF_PAIR *cf_pair_next(CONF_SECTION const *cs, CONF_PAIR const *curr) return cf_item_to_pair(cf_next(cf_section_to_item(cs), cf_pair_to_item(curr), CONF_ITEM_PAIR)); } -/** Return the next child that's a #CONF_PAIR +/** Return the previous child that's a #CONF_PAIR * * @param[in] cs to return children from. * @param[in] curr child to start searching from. * @return - * - The next #CONF_ITEM that's a child of cs and a CONF_PAIR. + * - The previous #CONF_ITEM that's a child of cs and a CONF_PAIR. * - NULL if no #CONF_ITEM matches that criteria. */ CONF_PAIR *cf_pair_prev(CONF_SECTION const *cs, CONF_PAIR const *curr)