summaryrefslogtreecommitdiff
path: root/server/tests/sysdb-tests.c
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/tests/sysdb-tests.c
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/tests/sysdb-tests.c')
-rw-r--r--server/tests/sysdb-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index 38bfcb10..5250b088 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -81,7 +81,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
DEBUG(3, ("CONFDB: %s\n", conf_db));
/* Connect to the conf db */
- ret = confdb_init(test_ctx, test_ctx->ev, &test_ctx->confdb, conf_db);
+ ret = confdb_init(test_ctx, &test_ctx->confdb, conf_db);
if (ret != EOK) {
fail("Could not initialize connection to the confdb");
talloc_free(test_ctx);