summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-12-14 07:20:11 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-21 21:28:49 -0500
commit3bea01f01d76e1e95a8239c0d3f67073992136a1 (patch)
tree5da8c3f66905726489fcffba5934db221f6dbed4 /src/responder/autofs
parent3e5caddf4840e40b49ccf24e1ce7b531a692023b (diff)
downloadsssd_unused-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.gz
sssd_unused-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.xz
sssd_unused-3bea01f01d76e1e95a8239c0d3f67073992136a1.zip
Don't give memory context in confdb where not needed
Diffstat (limited to 'src/responder/autofs')
-rw-r--r--src/responder/autofs/autofssrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/autofs/autofssrv.c b/src/responder/autofs/autofssrv.c
index 76d27070..096cce9d 100644
--- a/src/responder/autofs/autofssrv.c
+++ b/src/responder/autofs/autofssrv.c
@@ -62,7 +62,7 @@ autofs_get_config(struct autofs_ctx *actx,
{
errno_t ret;
- ret = confdb_get_int(cdb, actx, CONFDB_AUTOFS_CONF_ENTRY,
+ ret = confdb_get_int(cdb, CONFDB_AUTOFS_CONF_ENTRY,
CONFDB_AUTOFS_MAP_NEG_TIMEOUT, 15,
&actx->neg_timeout);
if (ret != EOK) {
@@ -142,7 +142,7 @@ autofs_process_init(TALLOC_CTX *mem_ctx,
autofs_ctx->rctx->pvt_ctx = autofs_ctx;
/* Enable automatic reconnection to the Data Provider */
- ret = confdb_get_int(autofs_ctx->rctx->cdb, autofs_ctx->rctx,
+ ret = confdb_get_int(autofs_ctx->rctx->cdb,
CONFDB_AUTOFS_CONF_ENTRY,
CONFDB_SERVICE_RECON_RETRIES,
3, &max_retries);