]> git.sur5r.net Git - openldap/commitdiff
always try to open config; NULL means use default
authorPierangelo Masarati <ando@openldap.org>
Fri, 12 May 2006 14:42:49 +0000 (14:42 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 12 May 2006 14:42:49 +0000 (14:42 +0000)
contrib/slapd-modules/passwd/radius.c

index 3e0c73d7d1140aca9eb7631c2bb8ea27c6d26c01..57b216c61bc58f7e7fdd53a77694ba2ea8b4d3d9 100644 (file)
@@ -63,10 +63,8 @@ chk_radius(
                return LUTIL_PASSWD_ERR;
        }
 
-       if ( config_filename ) {
-               if ( rad_config( h, config_filename ) != 0 ) {
-                       goto done;
-               }
+       if ( rad_config( h, config_filename ) != 0 ) {
+               goto done;
        }
 
        if ( rad_create_request( h, RAD_ACCESS_REQUEST ) ) {