~jscott/OpenLDAP

4b7b2172d9274b39442afe4f8e886115c0d33c1a — Ondřej Kuzník 1 year, 3 months ago 3676f3a
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;
	}