ipa_range_check: Connect the new node of the linked list

Part of: https://fedorahosted.org/freeipa/ticket/4137

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Tomas Babej 2014-04-16 17:20:55 +02:00 committed by Martin Kosek
parent 2011392246
commit 2c4d41221a

View File

@ -131,6 +131,7 @@ static int map_domain_to_root(struct domain_info **head,
new_head->forest_root_id = slapi_entry_attr_get_charptr(root_domain,
IPA_DOMAIN_ID);
new_head->next = *head;
*head = new_head;
return 0;
}