summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-12-07 14:03:08 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-07 08:41:40 -0500
commitb1cf223317bb44da162bcfb153064281cdcbb56b (patch)
treee274758bedc9edd4423d9cc9f526774244395694 /src
parentd22a6b9feb74bd630ab25dd6c32da6ae88b4fc33 (diff)
downloadsssd-b1cf223317bb44da162bcfb153064281cdcbb56b.tar.gz
sssd-b1cf223317bb44da162bcfb153064281cdcbb56b.tar.xz
sssd-b1cf223317bb44da162bcfb153064281cdcbb56b.zip
Pass the correct private data into Data Provider callback
Diffstat (limited to 'src')
-rw-r--r--src/responder/nss/nsssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 8e40bd2e1..720813fda 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -672,7 +672,7 @@ errno_t check_cache(struct nss_dom_ctx *dctx,
goto error;
}
cb_ctx->callback = callback;
- cb_ctx->ptr = dctx;
+ cb_ctx->ptr = pvt;
cb_ctx->cctx = dctx->cmdctx->cctx;
cb_ctx->mem_ctx = dctx;