From 84be63096bbfc1b65898466b445b42c2c71634b6 Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Mon, 8 Nov 1999 18:47:47 +0000 Subject: [PATCH] Minor bug fix in ldap_parse_extended_result. --- libraries/libldap/extended.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libldap/extended.c b/libraries/libldap/extended.c index e284b485fd..c3b382d18d 100644 --- a/libraries/libldap/extended.c +++ b/libraries/libldap/extended.c @@ -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; } -- 2.39.5