From 5b72a797f454639496087fde6715237115be0b0a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 10 Sep 2009 09:26:28 -0400 Subject: 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. --- server/util/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/util/server.c') diff --git a/server/util/server.c b/server/util/server.c index d20a823c7..0760e60f2 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; -- cgit