diff options
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist.c b/src/hostlist/test_gnunet_daemon_hostlist.c index 05e05e24e..2f99b887d 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist.c +++ b/src/hostlist/test_gnunet_daemon_hostlist.c | |||
@@ -52,7 +52,7 @@ static struct PeerContext p2; | |||
52 | 52 | ||
53 | 53 | ||
54 | static void | 54 | static void |
55 | clean_up (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 55 | clean_up (void *cls) |
56 | { | 56 | { |
57 | if (p1.th != NULL) | 57 | if (p1.th != NULL) |
58 | { | 58 | { |
@@ -81,12 +81,12 @@ clean_up (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
81 | * Timeout, give up. | 81 | * Timeout, give up. |
82 | */ | 82 | */ |
83 | static void | 83 | static void |
84 | timeout_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 84 | timeout_error (void *cls) |
85 | { | 85 | { |
86 | timeout_task = NULL; | 86 | timeout_task = NULL; |
87 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 87 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
88 | "Timeout trying to connect peers, test failed.\n"); | 88 | "Timeout trying to connect peers, test failed.\n"); |
89 | clean_up (NULL, tc); | 89 | clean_up (NULL); |
90 | } | 90 | } |
91 | 91 | ||
92 | 92 | ||
@@ -150,7 +150,7 @@ setup_peer (struct PeerContext *p, const char *cfgname) | |||
150 | 150 | ||
151 | 151 | ||
152 | static void | 152 | static void |
153 | waitpid_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 153 | waitpid_task (void *cls) |
154 | { | 154 | { |
155 | struct PeerContext *p = cls; | 155 | struct PeerContext *p = cls; |
156 | 156 | ||
@@ -179,7 +179,7 @@ stop_arm (struct PeerContext *p) | |||
179 | * Try again to connect to transport service. | 179 | * Try again to connect to transport service. |
180 | */ | 180 | */ |
181 | static void | 181 | static void |
182 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 182 | shutdown_task (void *cls) |
183 | { | 183 | { |
184 | stop_arm (&p1); | 184 | stop_arm (&p1); |
185 | stop_arm (&p2); | 185 | stop_arm (&p2); |