From: Kurt Zeilenga Date: Sun, 12 Dec 1999 05:02:03 +0000 (+0000) Subject: Fix == != typo X-Git-Tag: UCDATA_2_4~95 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18fad04e69fd0d0613d23779297a5d0f5ef140b8;p=openldap Fix == != typo --- diff --git a/libraries/libldap/sasl.c b/libraries/libldap/sasl.c index 81a97dd593..d3ae344f78 100644 --- a/libraries/libldap/sasl.c +++ b/libraries/libldap/sasl.c @@ -252,14 +252,14 @@ ldap_parse_sasl_bind_result( return LDAP_PARAM_ERROR; } - if(servercredp != NULL) { + if( servercredp != NULL ) { if( ld->ld_version < LDAP_VERSION2 ) { return LDAP_NOT_SUPPORTED; } *servercredp = NULL; } - if( res->lm_msgtype == LDAP_RES_BIND ) { + if( res->lm_msgtype != LDAP_RES_BIND ) { ld->ld_errno = LDAP_PARAM_ERROR; return ld->ld_errno; }