mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-10 08:53:27 -05: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
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue