mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#5056 from HEAD
This commit is contained in:
parent
c2f6506560
commit
ba89c10f8a
1 changed files with 4 additions and 1 deletions
|
|
@ -64,6 +64,9 @@ ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e )
|
|||
assert( e != NULL );
|
||||
|
||||
e->lm_chain = *list;
|
||||
e->lm_chain_tail = (*list)->lm_chain_tail;
|
||||
if ( *list )
|
||||
e->lm_chain_tail = (*list)->lm_chain_tail;
|
||||
else
|
||||
e->lm_chain_tail = e;
|
||||
*list = e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue