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/tools/tools_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tools') diff --git a/server/tools/tools_util.c b/server/tools/tools_util.c index c23899c8..15ba16f0 100644 --- a/server/tools/tools_util.c +++ b/server/tools/tools_util.c @@ -76,7 +76,7 @@ int setup_db(struct tools_ctx **tools_ctx) } /* Connect to the conf db */ - ret = confdb_init(ctx, ctx->ev, &ctx->confdb, confdb_path); + ret = confdb_init(ctx, &ctx->confdb, confdb_path); if (ret != EOK) { DEBUG(1, ("Could not initialize connection to the confdb\n")); talloc_free(ctx); -- cgit