From: Alan T. DeKok Date: Mon, 6 Feb 2012 10:44:29 +0000 (+0100) Subject: Fix typo in last commit X-Git-Tag: release_3_0_0_beta0~337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfb632b41deb9d5610ad62caba7bb093342a563d;p=thirdparty%2Ffreeradius-server.git Fix typo in last commit --- diff --git a/src/modules/rlm_mschap/rlm_mschap.c b/src/modules/rlm_mschap/rlm_mschap.c index 3e4a4fe1275..7e8be0c537d 100644 --- a/src/modules/rlm_mschap/rlm_mschap.c +++ b/src/modules/rlm_mschap/rlm_mschap.c @@ -626,7 +626,7 @@ static int mschap_instantiate(CONF_SECTION *conf, void **instance) * Create the dynamic translation. */ name = cf_section_name2(conf); - if (name) name = cf_section_name1(conf); + if (!name) name = cf_section_name1(conf); inst->xlat_name = strdup(name); xlat_register(inst->xlat_name, mschap_xlat, inst);