diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-04-16 17:20:55 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-04-23 13:16:34 +0200 |
commit | 2c4d41221a7208e8e4d53ec85f24fe8a1da711dd (patch) | |
tree | 103b36e35cca579830ba24cbab833ed4910c6a00 | |
parent | 2011392246cda7eb9449f8a0ae239ded3d7d5dd4 (diff) | |
download | freeipa-2c4d41221a7208e8e4d53ec85f24fe8a1da711dd.tar.gz freeipa-2c4d41221a7208e8e4d53ec85f24fe8a1da711dd.tar.xz freeipa-2c4d41221a7208e8e4d53ec85f24fe8a1da711dd.zip |
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>
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c index ea7658ed6..fca4819a0 100644 --- a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c +++ b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c @@ -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; } |