mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
ldap_result was losing messages when multiple msgids were queued,
and results were being returned one-at-a-time. Ugh, this cost me two days, loss of hair, sleep, etc.....!
This commit is contained in:
parent
a9fb92467e
commit
568e25a7a9
@ -144,8 +144,11 @@ ldap_result(
|
||||
lastlm->lm_next = (all == 0 && lm->lm_chain != NULL
|
||||
? lm->lm_chain : lm->lm_next);
|
||||
}
|
||||
if ( all == 0 )
|
||||
if ( all == 0 && lm->lm_chain != NULL )
|
||||
{
|
||||
lm->lm_chain->lm_next = lm->lm_next;
|
||||
lm->lm_chain = NULL;
|
||||
}
|
||||
lm->lm_next = NULL;
|
||||
|
||||
*result = lm;
|
||||
|
Loading…
Reference in New Issue
Block a user