version 1.91, 2004/01/01 18:15:27
|
version 1.92, 2004/03/25 08:54:23
|
Line 1
|
Line 1
|
/* result.c - wait for an ldap result */ |
/* result.c - wait for an ldap result */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.90 2003/11/26 06:16:38 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.91 2004/01/01 18:15:27 kurt Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2004 The OpenLDAP Foundation. |
* Copyright 1998-2004 The OpenLDAP Foundation. |
Line 315 wait4msg(
|
Line 315 wait4msg(
|
rc = (*result)->lm_msgtype; |
rc = (*result)->lm_msgtype; |
} else { |
} else { |
|
|
for ( lc = ld->ld_conns; lc != NULL; lc = lc->lconn_next ) { |
for ( lc = ld->ld_conns; lc != NULL; lc = nextlc ) { |
|
nextlc = lc->lconn_next; |
if ( ber_sockbuf_ctrl( lc->lconn_sb, |
if ( ber_sockbuf_ctrl( lc->lconn_sb, |
LBER_SB_OPT_DATA_READY, NULL ) ) { |
LBER_SB_OPT_DATA_READY, NULL ) ) { |
rc = try_read1msg( ld, msgid, all, lc->lconn_sb, |
rc = try_read1msg( ld, msgid, all, lc->lconn_sb, |