From: Pierangelo Masarati Date: Tue, 6 Apr 2004 12:22:51 +0000 (+0000) Subject: silence erroneous warning X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25fce61f70cda34ac6cd86ac63b7685162cd3571;p=openldap silence erroneous warning --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 8aae33f110..d9cee2cf11 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -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; }