From: Sebastian Harl Date: Fri, 16 Jan 2015 20:15:20 +0000 (+0100) Subject: connection_test: Updated according to latest changes. X-Git-Tag: sysdb-0.7.0~64 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=074f1b495ab19a19c7bd360fbf8081a7406f3d10;p=sysdb.git connection_test: Updated according to latest changes. --- diff --git a/t/unit/frontend/connection_test.c b/t/unit/frontend/connection_test.c index 9b0cde4..8c5f882 100644 --- a/t/unit/frontend/connection_test.c +++ b/t/unit/frontend/connection_test.c @@ -229,7 +229,7 @@ START_TEST(test_conn_accept) pthread_t thr; - conn = sdb_connection_accept(-1); + conn = sdb_connection_accept(-1, NULL, NULL); fail_unless(conn == NULL, "sdb_connection_accept(-1) = %p; expected: NULL", conn); @@ -242,7 +242,7 @@ START_TEST(test_conn_accept) fail_unless(check == 0, "INTERNAL ERROR: pthread_create() = %i; expected: 0", check); - conn = sdb_connection_accept(fd); + conn = sdb_connection_accept(fd, NULL, NULL); fail_unless(conn != NULL, "sdb_connection_accept(%d) = %p; expected: ", fd, conn);