aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/test_gnunet_daemon_hostlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist.c')
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist.c10
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
54static void 54static void
55clean_up (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 55clean_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 */
83static void 83static void
84timeout_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 84timeout_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
152static void 152static void
153waitpid_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 153waitpid_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 */
181static void 181static void
182shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 182shutdown_task (void *cls)
183{ 183{
184 stop_arm (&p1); 184 stop_arm (&p1);
185 stop_arm (&p2); 185 stop_arm (&p2);