intermediate response fix

This commit is contained in:
Kurt Zeilenga 2003-05-31 05:48:16 +00:00
parent fefb7a97e4
commit e83b55ebde

View File

@ -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 ||