]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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 bee54d455136a90efd8731b81002f24b714c40ea..7d0efb8e79fc603632b63807d3e7516307b47eee 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");