mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Sync with HEAD
This commit is contained in:
parent
00fac6a5e9
commit
f28f15da41
1 changed files with 3 additions and 1 deletions
|
|
@ -314,6 +314,7 @@ wait4msg(
|
|||
if( (*result = chkResponseList(ld, msgid, all)) != NULL ) {
|
||||
rc = (*result)->lm_msgtype;
|
||||
} else {
|
||||
int lc_ready = 0;
|
||||
|
||||
for ( lc = ld->ld_conns; lc != NULL; lc = nextlc ) {
|
||||
nextlc = lc->lconn_next;
|
||||
|
|
@ -321,11 +322,12 @@ wait4msg(
|
|||
LBER_SB_OPT_DATA_READY, NULL ) ) {
|
||||
rc = try_read1msg( ld, msgid, all, lc->lconn_sb,
|
||||
&lc, result );
|
||||
lc_ready = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( lc == NULL ) {
|
||||
if ( !lc_ready ) {
|
||||
rc = ldap_int_select( ld, tvp );
|
||||
#ifdef LDAP_DEBUG
|
||||
if ( rc == -1 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue