From 3bea01f01d76e1e95a8239c0d3f67073992136a1 Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Wed, 14 Dec 2011 07:20:11 -0500 Subject: Don't give memory context in confdb where not needed --- src/responder/autofs/autofssrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/responder/autofs/autofssrv.c') diff --git a/src/responder/autofs/autofssrv.c b/src/responder/autofs/autofssrv.c index 76d270704..096cce9d2 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); -- cgit