diff options
Diffstat (limited to 'src/nat/test_nat_test.c')
-rw-r--r-- | src/nat/test_nat_test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index c0cce6e45..402671bd2 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c | |||
@@ -59,8 +59,7 @@ report_result (void *cls, | |||
59 | 59 | ||
60 | 60 | ||
61 | static void | 61 | static void |
62 | failed_timeout (void *cls, | 62 | failed_timeout (void *cls) |
63 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
64 | { | 63 | { |
65 | tsk = NULL; | 64 | tsk = NULL; |
66 | fprintf (stderr, | 65 | fprintf (stderr, |
@@ -86,7 +85,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
86 | 2), | 85 | 2), |
87 | &failed_timeout, | 86 | &failed_timeout, |
88 | NULL); | 87 | NULL); |
89 | 88 | ||
90 | } | 89 | } |
91 | 90 | ||
92 | 91 | ||
@@ -127,7 +126,7 @@ main (int argc, char *const argv[]) | |||
127 | "12345", NULL); | 126 | "12345", NULL); |
128 | GNUNET_assert (NULL != gns); | 127 | GNUNET_assert (NULL != gns); |
129 | GNUNET_PROGRAM_run (3, argv_prog, | 128 | GNUNET_PROGRAM_run (3, argv_prog, |
130 | "test-nat-test", "nohelp", | 129 | "test-nat-test", "nohelp", |
131 | options, &run, | 130 | options, &run, |
132 | NULL); | 131 | NULL); |
133 | GNUNET_break (0 == GNUNET_OS_process_kill (gns, GNUNET_TERM_SIG)); | 132 | GNUNET_break (0 == GNUNET_OS_process_kill (gns, GNUNET_TERM_SIG)); |