From: Kurt Zeilenga Date: Sat, 31 May 2003 05:48:16 +0000 (+0000) Subject: intermediate response fix X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~957 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e83b55ebde277adf8e8cb41a9413768e6a7d157e;p=openldap intermediate response fix --- diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index f3ae525329..f326074e2d 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -660,11 +660,9 @@ nextresp2: * go through the following code. This code also chases V2 referrals * and checks if all referrals have been chased. */ - if ( (tag != LDAP_RES_SEARCH_ENTRY) && (v3ref > -1) -#ifdef LDAP_RES_INTERMEDIATE_RESP - && (tag != LDAP_RES_INTERMEDIATE_RESP ) -#endif - ) { + if ( (tag != LDAP_RES_SEARCH_ENTRY) && (v3ref > -1) && + (tag != LDAP_RES_INTERMEDIATE )) + { /* For a v3 search referral/reference, only come here if already chased it */ if ( ld->ld_version >= LDAP_VERSION2 && ( lr->lr_parent != NULL ||