From: Alan T. DeKok Date: Sun, 9 Oct 2011 16:15:00 +0000 (+0200) Subject: Use parent rather than cs if cs doesn't exist X-Git-Tag: release_3_0_0_beta0~605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641ea7c81f9ec48eaf0d99870920f8c43d814391;p=thirdparty%2Ffreeradius-server.git Use parent rather than cs if cs doesn't exist --- diff --git a/src/main/connection.c b/src/main/connection.c index 2790c71b865..020ca5ed7b0 100644 --- a/src/main/connection.c +++ b/src/main/connection.c @@ -223,7 +223,7 @@ fr_connection_pool_t *fr_connection_pool_init(CONF_SECTION *parent, cs = cf_section_sub_find(parent, "pool"); if (!cs) { - cf_log_err(cf_sectiontoitem(cs), "No \"pool\" subsection found"); + cf_log_err(cf_sectiontoitem(parent), "No \"pool\" subsection found"); return NULL; }