diff options
Diffstat (limited to 'src/util/test_connection.c')
-rw-r--r-- | src/util/test_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_connection.c b/src/util/test_connection.c index c4987d27d..eaca75c2e 100644 --- a/src/util/test_connection.c +++ b/src/util/test_connection.c | |||
@@ -98,7 +98,7 @@ receive_check (void *cls, const void *buf, size_t available, | |||
98 | 98 | ||
99 | 99 | ||
100 | static void | 100 | static void |
101 | run_accept (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 101 | run_accept (void *cls) |
102 | { | 102 | { |
103 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Test accepts connection\n"); | 103 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Test accepts connection\n"); |
104 | asock = GNUNET_CONNECTION_create_from_accept (NULL, NULL, ls); | 104 | asock = GNUNET_CONNECTION_create_from_accept (NULL, NULL, ls); |
@@ -128,7 +128,7 @@ make_hello (void *cls, size_t size, void *buf) | |||
128 | 128 | ||
129 | 129 | ||
130 | static void | 130 | static void |
131 | task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 131 | task (void *cls) |
132 | { | 132 | { |
133 | ls = open_listen_socket (); | 133 | ls = open_listen_socket (); |
134 | lsock = GNUNET_CONNECTION_create_from_existing (ls); | 134 | lsock = GNUNET_CONNECTION_create_from_existing (ls); |