]> git.sur5r.net Git - openldap/commitdiff
silence erroneous warning
authorPierangelo Masarati <ando@openldap.org>
Tue, 6 Apr 2004 12:22:51 +0000 (12:22 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 6 Apr 2004 12:22:51 +0000 (12:22 +0000)
servers/slapd/overlays/ppolicy.c

index 8aae33f110148f34c2f7a4071c202b0a2c9d024d..d9cee2cf1129a0bb8eaa032af07241dc6aad32a4 100644 (file)
@@ -1827,6 +1827,7 @@ ppolicy_config(
                        return 1;
                }
                return 0;
+
        } else if ( strcasecmp( argv[0], "ppolicy_use_lockout" ) == 0 ) {
                if ( argc != 1 ) {
                        fprintf( stderr, "%s: line %d: ppolicy_use_lockout "
@@ -1834,6 +1835,7 @@ ppolicy_config(
                        return ( 1 );
                }
                pi->use_lockout = 1;
+               return 0;
        }
        return SLAP_CONF_UNKNOWN;
 }