From 0882793e4ba018073c2db9ab390bcdf16276b65f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 5 Nov 2018 10:53:24 +0100 Subject: [PATCH] IFP: Use subreq, not req when calling RefreshRules_recv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This emits a failure when refreshing access control rules from e.g. sssctl access-report. Resolves: https://pagure.io/SSSD/sssd/issue/3874 Reviewed-by: Pavel Březina --- src/responder/ifp/ifp_domains.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/responder/ifp/ifp_domains.c b/src/responder/ifp/ifp_domains.c index ac09f23c6..2020b7580 100644 --- a/src/responder/ifp/ifp_domains.c +++ b/src/responder/ifp/ifp_domains.c @@ -1001,7 +1001,7 @@ static void ifp_domains_domain_refresh_access_rules_done(struct tevent_req *subr req = tevent_req_callback_data(subreq, struct tevent_req); - ret = sbus_call_dp_access_RefreshRules_recv(req); + ret = sbus_call_dp_access_RefreshRules_recv(subreq); talloc_zfree(subreq); if (ret != EOK) { tevent_req_error(req, ret); -- 2.19.1