From: Arran Cudbard-Bell Date: Wed, 22 Aug 2012 16:35:41 +0000 (+0100) Subject: Section configs structs arent pointers... X-Git-Tag: release_3_0_0_beta0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e56d59bcc79b693159e74efa02eab1dab4b70056;p=thirdparty%2Ffreeradius-server.git Section configs structs arent pointers... --- diff --git a/src/modules/rlm_sql/rlm_sql.c b/src/modules/rlm_sql/rlm_sql.c index f184557d0ad..af37e6e4879 100644 --- a/src/modules/rlm_sql/rlm_sql.c +++ b/src/modules/rlm_sql/rlm_sql.c @@ -1226,7 +1226,7 @@ static int rlm_sql_redundant(SQL_INST *inst, REQUEST *request, char *p = path; - if (!section) { + if (!section || !section->reference) { DEBUG("No configuration provided for this section"); return RLM_MODULE_NOOP;