From 988fb232d2d3bf431a768edf63d1555284c95ec8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 24 Jan 2009 07:18:35 +0000 Subject: [PATCH] ITS#5896 don't return immediately on Intermediate responses --- libraries/libldap/result.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index cc0fc00d09..10ca5b7d3c 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -1127,7 +1127,8 @@ nextresp2: if ( msgid == LDAP_RES_ANY || id == msgid ) { if ( all == LDAP_MSG_ONE || ( newmsg->lm_msgtype != LDAP_RES_SEARCH_RESULT - && newmsg->lm_msgtype != LDAP_RES_SEARCH_ENTRY + && newmsg->lm_msgtype != LDAP_RES_SEARCH_ENTRY + && newmsg->lm_msgtype != LDAP_RES_INTERMEDIATE && newmsg->lm_msgtype != LDAP_RES_SEARCH_REFERENCE ) ) { *result = newmsg; -- 2.39.5