From dc3e5fb99da41438844d4901b86f145b4e653c4d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 16 Apr 2002 12:53:13 +0000 Subject: [PATCH] ITS#818, ITS#980, ITS#1234 ldapsearch/referral hang - set refer_cnt to 0 after v3refs have been chased. They are fully processed by the time we get back, so we should just return the current result message to the caller. --- 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 c99e2a84ff..5905f43afa 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -647,7 +647,8 @@ try_read1msg( { tmpber = *ber; /* struct copy */ if ( v3ref == 1 ) { - ; /* V3 search reference or V3 referral sucessfully chased */ + /* V3 search reference or V3 referral successfully chased */ + refer_cnt = 0; } else if ( ber_scanf( &tmpber, "{iaa}", &lderr, &lr->lr_res_matched, &lr->lr_res_error ) != LBER_ERROR ) { -- 2.39.5