diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-08 15:12:14 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-06-09 10:35:15 +0200 |
commit | 06f9759563f4581981046208cce8ebccaa603e01 (patch) | |
tree | 8c0bc14d4bc81c829c1af83188aaba78d3a7a0f6 /src/responder | |
parent | 9a6ff0851fc707f21165818f66ae926fa14d7226 (diff) | |
download | sssd-06f9759563f4581981046208cce8ebccaa603e01.tar.gz sssd-06f9759563f4581981046208cce8ebccaa603e01.tar.xz sssd-06f9759563f4581981046208cce8ebccaa603e01.zip |
RESPONDER: Fix error check in cache_req.c
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/common/responder_cache_req.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/responder/common/responder_cache_req.c b/src/responder/common/responder_cache_req.c index a3253a5ef..c10fe3cb1 100644 --- a/src/responder/common/responder_cache_req.c +++ b/src/responder/common/responder_cache_req.c @@ -974,7 +974,9 @@ static errno_t cache_req_cache_search(struct tevent_req *req) /* Verify that the cache is up to date. */ ret = cache_req_cache_check(req); - if (req != EOK) { + if (ret != EOK) { + CACHE_REQ_DEBUG(SSSDBG_OP_FAILURE, state->cr, + "Cannot find info for [%s]\n", state->cr->debugobj); return ret; } |