summaryrefslogtreecommitdiff
path: root/src/responder
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-11-18 19:32:23 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-19 07:06:19 +0100
commitc475ce7bfa230a0a0167a294317c1120211cbb4c (patch)
tree96fe6117b934a6d2effd869470dad0cdf14bc36d /src/responder
parent03b224556506601c8a29771801bc1b5e302958f9 (diff)
downloadsssd-c475ce7bfa230a0a0167a294317c1120211cbb4c.tar.gz
sssd-c475ce7bfa230a0a0167a294317c1120211cbb4c.tar.bz2
sssd-c475ce7bfa230a0a0167a294317c1120211cbb4c.zip
SUDO: Fix wrong variable check
https://fedorahosted.org/sssd/ticket/1650
Diffstat (limited to 'src/responder')
-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);