version 1.51, 2000/10/04 23:40:36
|
version 1.52, 2000/10/11 02:23:23
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.50 2000/10/03 16:51:30 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.51 2000/10/04 23:40:36 kurt Exp $ */ |
/* |
/* |
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. |
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
Line 431 try_read1msg(
|
Line 431 try_read1msg(
|
} else { |
} else { |
/* Note: refs arrary is freed by ldap_chase_v3referrals */ |
/* Note: refs arrary is freed by ldap_chase_v3referrals */ |
refer_cnt = ldap_chase_v3referrals( ld, lr, refs, |
refer_cnt = ldap_chase_v3referrals( ld, lr, refs, |
&lr->lr_res_error, &hadref ); |
1, &lr->lr_res_error, &hadref ); |
if ( refer_cnt > 0 ) { /* sucessfully chased reference */ |
if ( refer_cnt > 0 ) { /* sucessfully chased reference */ |
/* If haven't got end search, set chasing referrals */ |
/* If haven't got end search, set chasing referrals */ |
if( lr->lr_status != LDAP_REQST_COMPLETED) { |
if( lr->lr_status != LDAP_REQST_COMPLETED) { |
Line 470 try_read1msg(
|
Line 470 try_read1msg(
|
* Note: refs arrary is freed by ldap_chase_v3referrals |
* Note: refs arrary is freed by ldap_chase_v3referrals |
*/ |
*/ |
refer_cnt = ldap_chase_v3referrals( ld, lr, refs, |
refer_cnt = ldap_chase_v3referrals( ld, lr, refs, |
&lr->lr_res_error, &hadref ); |
0, &lr->lr_res_error, &hadref ); |
lr->lr_status = LDAP_REQST_COMPLETED; |
lr->lr_status = LDAP_REQST_COMPLETED; |
Debug( LDAP_DEBUG_TRACE, |
Debug( LDAP_DEBUG_TRACE, |
"read1msg: referral chased, mark request completed, id = %d\n", |
"read1msg: referral chased, mark request completed, id = %d\n", |