Minor bug fix in ldap_parse_extended_result.

This commit is contained in:
Mark Valence 1999-11-08 18:47:47 +00:00
parent f4761ccd4a
commit 84be63096b

View file

@ -181,7 +181,7 @@ ldap_parse_extended_result (
return ld->ld_errno;
}
if( res->lm_msgtype == LDAP_RES_EXTENDED ) {
if( res->lm_msgtype != LDAP_RES_EXTENDED ) {
ld->ld_errno = LDAP_PARAM_ERROR;
return ld->ld_errno;
}