summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ipa/ipa_hosts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hosts.c b/src/providers/ipa/ipa_hosts.c
index b8982054..5252ac9b 100644
--- a/src/providers/ipa/ipa_hosts.c
+++ b/src/providers/ipa/ipa_hosts.c
@@ -266,8 +266,8 @@ ipa_host_info_done(struct tevent_req *subreq)
tevent_req_error(req, EIO);
return;
}
+ tevent_req_set_callback(subreq, ipa_hostgroup_info_done, req);
}
- tevent_req_set_callback(subreq, ipa_hostgroup_info_done, req);
} else {
/* Nothing else to do, just complete the req */
tevent_req_done(req);