diff options
Diffstat (limited to 'src/gns/test_gns_simple_zkey_lookup.c')
-rw-r--r-- | src/gns/test_gns_simple_zkey_lookup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c index 798fa5b5d..52a550ebf 100644 --- a/src/gns/test_gns_simple_zkey_lookup.c +++ b/src/gns/test_gns_simple_zkey_lookup.c | |||
@@ -93,7 +93,7 @@ end_badly_now () | |||
93 | } | 93 | } |
94 | 94 | ||
95 | 95 | ||
96 | static void | 96 | static void |
97 | shutdown_task (void *cls, | 97 | shutdown_task (void *cls, |
98 | const struct GNUNET_SCHEDULER_TaskContext *tc) | 98 | const struct GNUNET_SCHEDULER_TaskContext *tc) |
99 | { | 99 | { |
@@ -110,7 +110,7 @@ on_lookup_result(void *cls, uint32_t rd_count, | |||
110 | struct in_addr a; | 110 | struct in_addr a; |
111 | int i; | 111 | int i; |
112 | char* addr; | 112 | char* addr; |
113 | 113 | ||
114 | if (GNUNET_SCHEDULER_NO_TASK != die_task) | 114 | if (GNUNET_SCHEDULER_NO_TASK != die_task) |
115 | { | 115 | { |
116 | GNUNET_SCHEDULER_cancel (die_task); | 116 | GNUNET_SCHEDULER_cancel (die_task); |
@@ -150,7 +150,7 @@ on_lookup_result(void *cls, uint32_t rd_count, | |||
150 | } | 150 | } |
151 | } | 151 | } |
152 | } | 152 | } |
153 | 153 | ||
154 | GNUNET_SCHEDULER_add_now (&shutdown_task, NULL); | 154 | GNUNET_SCHEDULER_add_now (&shutdown_task, NULL); |
155 | } | 155 | } |
156 | 156 | ||
@@ -165,7 +165,7 @@ commence_testing (void *cls, int32_t success, const char *emsg) | |||
165 | char name[GNUNET_DNSPARSER_MAX_NAME_LENGTH]; | 165 | char name[GNUNET_DNSPARSER_MAX_NAME_LENGTH]; |
166 | char* pos; | 166 | char* pos; |
167 | struct GNUNET_CRYPTO_ShortHashAsciiEncoded hash_str; | 167 | struct GNUNET_CRYPTO_ShortHashAsciiEncoded hash_str; |
168 | 168 | ||
169 | gns_handle = GNUNET_GNS_connect(cfg); | 169 | gns_handle = GNUNET_GNS_connect(cfg); |
170 | if (NULL == gns_handle) | 170 | if (NULL == gns_handle) |
171 | { | 171 | { |
@@ -286,8 +286,8 @@ main (int argc, char *argv[]) | |||
286 | GNUNET_log_setup ("test-gns-simple-zkey-lookup", | 286 | GNUNET_log_setup ("test-gns-simple-zkey-lookup", |
287 | "WARNING", | 287 | "WARNING", |
288 | NULL); | 288 | NULL); |
289 | GNUNET_TESTING_peer_run ("test-gns-simple-zkey-lookup", | 289 | GNUNET_TESTING_peer_run ("test-gns-simple-zkey-lookup", |
290 | "test_gns_simple_lookup.conf", | 290 | "test_gns_simple_lookup.conf", |
291 | &do_check, NULL); | 291 | &do_check, NULL); |
292 | return ok; | 292 | return ok; |
293 | } | 293 | } |