mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#5056 fix chain_tail processing
This commit is contained in:
parent
5b897eef52
commit
2b67f4face
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