summaryrefslogtreecommitdiff
path: root/server/util
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-10 09:26:28 -0400
committerSimo Sorce <ssorce@redhat.com>2009-09-10 17:28:35 -0400
commit5b72a797f454639496087fde6715237115be0b0a (patch)
tree0e3113ad9bc1cc8af0dd398783b1f7138c798d3b /server/util
parentc80b4774c8358e8e9bb141ff28a5660224698a58 (diff)
downloadsssd-5b72a797f454639496087fde6715237115be0b0a.tar.gz
sssd-5b72a797f454639496087fde6715237115be0b0a.tar.bz2
sssd-5b72a797f454639496087fde6715237115be0b0a.zip
Remove unused event context argument from confdb_init
Because the confdb always operates synchronously, it maintains its own private event context internally. The event context argument passed to it is never used, so we'll remove it to avoid confusion.
Diffstat (limited to 'server/util')
-rw-r--r--server/util/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/util/server.c b/server/util/server.c
index d20a823c..0760e60f 100644
--- a/server/util/server.c
+++ b/server/util/server.c
@@ -47,7 +47,7 @@ static void close_low_fds(bool stderr_too)
int i;
close(0);
- close(1);
+ close(1);
if (stderr_too)
close(2);
@@ -354,7 +354,7 @@ int server_setup(const char *name, int flags,
}
DEBUG(3, ("CONFDB: %s\n", conf_db));
- ret = confdb_init(ctx, event_ctx, &ctx->confdb_ctx, conf_db);
+ ret = confdb_init(ctx, &ctx->confdb_ctx, conf_db);
if (ret != EOK) {
DEBUG(0,("The confdb initialization failed\n"));
return ret;