mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#2982 be sure to use nextlc when calling try_read1msg
This commit is contained in:
parent
54fba01be2
commit
d831315024
@ -315,7 +315,8 @@ wait4msg(
|
||||
rc = (*result)->lm_msgtype;
|
||||
} 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,
|
||||
LBER_SB_OPT_DATA_READY, NULL ) ) {
|
||||
rc = try_read1msg( ld, msgid, all, lc->lconn_sb,
|
||||
|
Loading…
Reference in New Issue
Block a user