Fix typo
authorAlan T. DeKok <aland@freeradius.org>
Thu, 21 Feb 2013 00:34:59 +0000 (19:34 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 21 Feb 2013 00:38:11 +0000 (19:38 -0500)
src/modules/rlm_passwd/rlm_passwd.c

index bee54d4..7d0efb8 100644 (file)
@@ -403,7 +403,7 @@ static int passwd_instantiate(CONF_SECTION *conf, void **instance)
        struct passwd_instance *inst;
 
        *instance = inst = talloc_zero(conf, struct passwd_instance);
-       if (inst) return -1;
+       if (!inst) return -1;
 
        if (cf_section_parse(conf, inst, module_config) < 0) {
                radlog(L_ERR, "rlm_passwd: cann't parse configuration");