summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce9c414)
raw | patch | inline | side by side (parent: ce9c414)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 16 Jan 2015 20:15:20 +0000 (21:15 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 16 Jan 2015 20:15:20 +0000 (21:15 +0100) |
t/unit/frontend/connection_test.c | patch | blob | history |
index 9b0cde48da0ca11e725729fd01fe46318bc22d89..8c5f88297cc6802e0dc9db663a81f5936a7e4c6e 100644 (file)
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);
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);