summaryrefslogtreecommitdiffstats
path: root/src/util
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/util
parent3e5caddf4840e40b49ccf24e1ce7b531a692023b (diff)
downloadsssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.gz
sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.tar.xz
sssd-3bea01f01d76e1e95a8239c0d3f67073992136a1.zip
Don't give memory context in confdb where not needed
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 10f43fcf5..95b183632 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -464,7 +464,7 @@ int server_setup(const char *name, int flags,
if (debug_level == SSSDBG_UNRESOLVED) {
/* set debug level if any in conf_entry */
- ret = confdb_get_int(ctx->confdb_ctx, ctx, conf_entry,
+ ret = confdb_get_int(ctx->confdb_ctx, conf_entry,
CONFDB_SERVICE_DEBUG_LEVEL,
SSSDBG_DEFAULT,
&debug_level);
@@ -479,7 +479,7 @@ int server_setup(const char *name, int flags,
/* same for debug timestamps */
if (debug_timestamps == SSSDBG_TIMESTAMP_UNRESOLVED) {
- ret = confdb_get_bool(ctx->confdb_ctx, ctx, conf_entry,
+ ret = confdb_get_bool(ctx->confdb_ctx, conf_entry,
CONFDB_SERVICE_DEBUG_TIMESTAMPS,
SSSDBG_TIMESTAMP_DEFAULT,
&dt);
@@ -494,7 +494,7 @@ int server_setup(const char *name, int flags,
/* same for debug microseconds */
if (debug_microseconds == SSSDBG_MICROSECONDS_UNRESOLVED) {
- ret = confdb_get_bool(ctx->confdb_ctx, ctx, conf_entry,
+ ret = confdb_get_bool(ctx->confdb_ctx, conf_entry,
CONFDB_SERVICE_DEBUG_MICROSECONDS,
SSSDBG_MICROSECONDS_DEFAULT,
&dm);
@@ -509,7 +509,7 @@ int server_setup(const char *name, int flags,
/* same for debug to file */
dl = (debug_to_file != 0);
- ret = confdb_get_bool(ctx->confdb_ctx, ctx, conf_entry,
+ ret = confdb_get_bool(ctx->confdb_ctx, conf_entry,
CONFDB_SERVICE_DEBUG_TO_FILES,
dl, &dl);
if (ret != EOK) {