diff options
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/namestore/test_namestore_api_monitoring.c index bf410fe42..d0662617e 100644 --- a/src/namestore/test_namestore_api_monitoring.c +++ b/src/namestore/test_namestore_api_monitoring.c | |||
@@ -153,7 +153,7 @@ zone_proc (void *cls, | |||
153 | static int returned_records; | 153 | static int returned_records; |
154 | static int fail = GNUNET_NO; | 154 | static int fail = GNUNET_NO; |
155 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 155 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
156 | "Comparing results name %s\n", | 156 | "Comparing results name %s\n", |
157 | name); | 157 | name); |
158 | 158 | ||
159 | if (0 != memcmp (zone_key, privkey, sizeof (struct GNUNET_CRYPTO_EccPrivateKey))) | 159 | if (0 != memcmp (zone_key, privkey, sizeof (struct GNUNET_CRYPTO_EccPrivateKey))) |
@@ -191,7 +191,7 @@ zone_proc (void *cls, | |||
191 | } | 191 | } |
192 | 192 | ||
193 | if (2 == ++returned_records) | 193 | if (2 == ++returned_records) |
194 | { | 194 | { |
195 | if (endbadly_task != GNUNET_SCHEDULER_NO_TASK) | 195 | if (endbadly_task != GNUNET_SCHEDULER_NO_TASK) |
196 | { | 196 | { |
197 | GNUNET_SCHEDULER_cancel (endbadly_task); | 197 | GNUNET_SCHEDULER_cancel (endbadly_task); |
@@ -254,7 +254,7 @@ create_record (unsigned int count) | |||
254 | 254 | ||
255 | 255 | ||
256 | static void | 256 | static void |
257 | run (void *cls, | 257 | run (void *cls, |
258 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 258 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
259 | struct GNUNET_TESTING_Peer *peer) | 259 | struct GNUNET_TESTING_Peer *peer) |
260 | { | 260 | { |
@@ -266,7 +266,7 @@ run (void *cls, | |||
266 | "zonefiles%s%s", | 266 | "zonefiles%s%s", |
267 | DIR_SEPARATOR_STR, | 267 | DIR_SEPARATOR_STR, |
268 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | 268 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); |
269 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 269 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
270 | "Using zonekey file `%s' \n", hostkey_file); | 270 | "Using zonekey file `%s' \n", hostkey_file); |
271 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file(hostkey_file); | 271 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file(hostkey_file); |
272 | GNUNET_free (hostkey_file); | 272 | GNUNET_free (hostkey_file); |
@@ -334,7 +334,7 @@ int | |||
334 | main (int argc, char *argv[]) | 334 | main (int argc, char *argv[]) |
335 | { | 335 | { |
336 | res = 1; | 336 | res = 1; |
337 | if (0 != | 337 | if (0 != |
338 | GNUNET_TESTING_service_run ("test-namestore-api-monitoring", | 338 | GNUNET_TESTING_service_run ("test-namestore-api-monitoring", |
339 | "namestore", | 339 | "namestore", |
340 | "test_namestore_api.conf", | 340 | "test_namestore_api.conf", |