diff options
Diffstat (limited to 'src/revocation/test_revocation.c')
-rw-r--r-- | src/revocation/test_revocation.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c index e9836cc5a..6d6db1b5c 100644 --- a/src/revocation/test_revocation.c +++ b/src/revocation/test_revocation.c | |||
@@ -57,8 +57,7 @@ static int ok; | |||
57 | 57 | ||
58 | 58 | ||
59 | static void | 59 | static void |
60 | do_shutdown (void *cls, | 60 | do_shutdown (void *cls) |
61 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
62 | { | 61 | { |
63 | unsigned int c; | 62 | unsigned int c; |
64 | 63 | ||
@@ -94,8 +93,7 @@ do_shutdown (void *cls, | |||
94 | 93 | ||
95 | 94 | ||
96 | static void | 95 | static void |
97 | check_revocation (void *cls, | 96 | check_revocation (void *cls); |
98 | const struct GNUNET_SCHEDULER_TaskContext *tc); | ||
99 | 97 | ||
100 | 98 | ||
101 | static void | 99 | static void |
@@ -128,8 +126,7 @@ revocation_remote_cb (void *cls, | |||
128 | 126 | ||
129 | 127 | ||
130 | static void | 128 | static void |
131 | check_revocation (void *cls, | 129 | check_revocation (void *cls) |
132 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
133 | { | 130 | { |
134 | GNUNET_REVOCATION_query (testpeers[0].cfg, | 131 | GNUNET_REVOCATION_query (testpeers[0].cfg, |
135 | &testpeers[1].pubkey, | 132 | &testpeers[1].pubkey, |
@@ -146,7 +143,7 @@ revocation_cb (void *cls, | |||
146 | { | 143 | { |
147 | fprintf (stderr, | 144 | fprintf (stderr, |
148 | "Revocation successful\n"); | 145 | "Revocation successful\n"); |
149 | check_revocation (NULL, NULL); | 146 | check_revocation (NULL); |
150 | } | 147 | } |
151 | } | 148 | } |
152 | 149 | ||