summaryrefslogtreecommitdiff
path: root/src/responder/sudo
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/sudo')
-rw-r--r--src/responder/sudo/sudosrv_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/sudo/sudosrv_query.c b/src/responder/sudo/sudosrv_query.c
index 998b6023..1574104c 100644
--- a/src/responder/sudo/sudosrv_query.c
+++ b/src/responder/sudo/sudosrv_query.c
@@ -326,7 +326,7 @@ struct tevent_req *sudosrv_parse_query_send(TALLOC_CTX *mem_ctx,
"sending subdomain request\n", domainname));
subreq = sss_dp_get_domains_send(state, rctx, true, domainname);
- if (req == NULL) {
+ if (subreq == NULL) {
ret = ENOMEM;
} else {
tevent_req_set_callback(subreq, sudosrv_parse_query_done, req);