Skip to content
Snippets Groups Projects
Commit d8313150 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2982 be sure to use nextlc when calling try_read1msg

parent 54fba01b
Branches
Tags
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment