From: Howard Chu Date: Mon, 18 Mar 2002 08:56:47 +0000 (+0000) Subject: Fix previous commit, lutil_passwd_scheme() returns boolean, not pointer. X-Git-Tag: OPENLDAP_REL_ENG_2_MP~342 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1063a041dfe854e61a25f87e18f89c67155f205;p=openldap Fix previous commit, lutil_passwd_scheme() returns boolean, not pointer. --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index e1fb332505..b9badcaed7 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -522,7 +522,7 @@ read_config( const char *fname ) } - if ( lutil_passwd_scheme( cargv[1] ) == NULL ) { + if ( lutil_passwd_scheme( cargv[1] ) == 0 ) { #ifdef NEW_LOGGING LDAP_LOG(( "config", LDAP_LEVEL_CRIT, "%s: line %d: password scheme \"%s\" not available\n",