]> git.sur5r.net Git - openldap/commitdiff
ITS#5896 don't return immediately on Intermediate responses
authorHoward Chu <hyc@openldap.org>
Sat, 24 Jan 2009 07:18:35 +0000 (07:18 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 Jan 2009 07:18:35 +0000 (07:18 +0000)
libraries/libldap/result.c

index cc0fc00d09ddd177b4bd111a36a3a14d666670f3..10ca5b7d3c4131a90c7501827b9246fbb7d5c0f2 100644 (file)
@@ -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;