diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-12-14 07:20:11 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-21 21:28:49 -0500 |
commit | 3bea01f01d76e1e95a8239c0d3f67073992136a1 (patch) | |
tree | 5da8c3f66905726489fcffba5934db221f6dbed4 /src/providers/data_provider_fo.c | |
parent | 3e5caddf4840e40b49ccf24e1ce7b531a692023b (diff) | |
download | sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.gz sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.xz sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.zip |
Don't give memory context in confdb where not needed
Diffstat (limited to 'src/providers/data_provider_fo.c')
-rw-r--r-- | src/providers/data_provider_fo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/providers/data_provider_fo.c b/src/providers/data_provider_fo.c index dd73e9d97..81c94f337 100644 --- a/src/providers/data_provider_fo.c +++ b/src/providers/data_provider_fo.c @@ -67,7 +67,7 @@ static int be_fo_get_options(struct be_ctx *ctx, { errno_t ret; - ret = confdb_get_int(ctx->cdb, ctx, ctx->conf_path, + ret = confdb_get_int(ctx->cdb, ctx->conf_path, CONFDB_DOMAIN_RESOLV_TIMEOUT, FO_DEFAULT_SVC_TIMEOUT, &opts->service_resolv_timeout); @@ -102,10 +102,9 @@ int be_init_failover(struct be_ctx *ctx) return ENOMEM; } - ret = confdb_get_int(ctx->cdb, ctx, ctx->conf_path, + ret = confdb_get_int(ctx->cdb, ctx->conf_path, CONFDB_DOMAIN_RESOLV_OP_TIMEOUT, - RESOLV_DEFAULT_TIMEOUT, - &resolv_timeout); + RESOLV_DEFAULT_TIMEOUT, &resolv_timeout); if (ret != EOK) { return ret; } |