From 18fad04e69fd0d0613d23779297a5d0f5ef140b8 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 12 Dec 1999 05:02:03 +0000 Subject: [PATCH] Fix == != typo --- libraries/libldap/sasl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5