From: Arran Cudbard-Bell Date: Sat, 1 Jun 2024 01:32:41 +0000 (-0600) Subject: Use correct type for cf_pair_debug X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d90cd3d4fabc903af025cfe0ac5da8e80d14474;p=thirdparty%2Ffreeradius-server.git Use correct type for cf_pair_debug --- diff --git a/src/lib/server/cf_util.c b/src/lib/server/cf_util.c index 1b4f40bd4a6..0d133a90707 100644 --- a/src/lib/server/cf_util.c +++ b/src/lib/server/cf_util.c @@ -2398,7 +2398,7 @@ void _cf_item_debug(CONF_ITEM const *ci) /** Ease of use from debugger */ -void cf_pair_debug(CONF_SECTION *cp) +void cf_pair_debug(CONF_PAIR *cp) { cf_item_debug(cp); } diff --git a/src/lib/server/cf_util.h b/src/lib/server/cf_util.h index 7a7dbeafcde..da4a47ea5a1 100644 --- a/src/lib/server/cf_util.h +++ b/src/lib/server/cf_util.h @@ -361,7 +361,7 @@ void _cf_log_perr_by_child(fr_log_type_t type, CONF_SECTION const *parent, char #define cf_item_debug(_cf) _cf_item_debug(CF_TO_ITEM(_cf)) void _cf_item_debug(CONF_ITEM const *ci); -void cf_pair_debug(CONF_SECTION *cp); +void cf_pair_debug(CONF_PAIR *cp); void cf_section_debug(CONF_SECTION *cs); #define cf_canonicalize_error(_ci, _slen, _msg, _str) _cf_canonicalize_error(CF_TO_ITEM(_ci), _slen, _msg, _str)