]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo in last commit
authorAlan T. DeKok <aland@freeradius.org>
Mon, 6 Feb 2012 10:44:29 +0000 (11:44 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 6 Feb 2012 10:44:29 +0000 (11:44 +0100)
src/modules/rlm_mschap/rlm_mschap.c

index 3e4a4fe1275d2d74f2bdfd5a66ad29591607e86b..7e8be0c537d70b08342e24629b6b4830dc29be40 100644 (file)
@@ -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);