ITS#10060 Try harder to find a finished operation with msgid=LDAP_RES_ANY
1 files changed, 4 insertions(+), 2 deletions(-) M libraries/libldap/result.c
M libraries/libldap/result.c => libraries/libldap/result.c +4 -2
@@ 196,11 196,13 @@ chkResponseList( tmp = NULL; } - if ( tmp == NULL ) { + if ( tmp == NULL && msgid != LDAP_RES_ANY ) { lm = NULL; } - break; + if ( tmp || msgid != LDAP_RES_ANY ) { + break; + } } lastlm = &lm->lm_next; }