Code

connection_test: Updated according to latest changes.
authorSebastian Harl <sh@tokkee.org>
Fri, 16 Jan 2015 20:15:20 +0000 (21:15 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 16 Jan 2015 20:15:20 +0000 (21:15 +0100)
t/unit/frontend/connection_test.c

index 9b0cde48da0ca11e725729fd01fe46318bc22d89..8c5f88297cc6802e0dc9db663a81f5936a7e4c6e 100644 (file)
@@ -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: <conn>", fd, conn);