diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/namestore/test_namestore_api_monitoring_existing.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring_existing.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring_existing.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c index 3958e4d6c..4db1c6d62 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/namestore/test_namestore_api_monitoring_existing.c | |||
@@ -154,7 +154,7 @@ zone_proc (void *cls, | |||
154 | static int returned_records; | 154 | static int returned_records; |
155 | static int fail = GNUNET_NO; | 155 | static int fail = GNUNET_NO; |
156 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 156 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
157 | "Comparing results name %s\n", | 157 | "Comparing results name %s\n", |
158 | name); | 158 | name); |
159 | 159 | ||
160 | if (0 != memcmp (zone_key, privkey, sizeof (struct GNUNET_CRYPTO_EccPrivateKey))) | 160 | if (0 != memcmp (zone_key, privkey, sizeof (struct GNUNET_CRYPTO_EccPrivateKey))) |
@@ -192,7 +192,7 @@ zone_proc (void *cls, | |||
192 | } | 192 | } |
193 | 193 | ||
194 | if (2 == ++returned_records) | 194 | if (2 == ++returned_records) |
195 | { | 195 | { |
196 | if (endbadly_task != GNUNET_SCHEDULER_NO_TASK) | 196 | if (endbadly_task != GNUNET_SCHEDULER_NO_TASK) |
197 | { | 197 | { |
198 | GNUNET_SCHEDULER_cancel (endbadly_task); | 198 | GNUNET_SCHEDULER_cancel (endbadly_task); |
@@ -272,7 +272,7 @@ create_record (unsigned int count) | |||
272 | 272 | ||
273 | 273 | ||
274 | static void | 274 | static void |
275 | run (void *cls, | 275 | run (void *cls, |
276 | const struct GNUNET_CONFIGURATION_Handle *mycfg, | 276 | const struct GNUNET_CONFIGURATION_Handle *mycfg, |
277 | struct GNUNET_TESTING_Peer *peer) | 277 | struct GNUNET_TESTING_Peer *peer) |
278 | { | 278 | { |
@@ -284,7 +284,7 @@ run (void *cls, | |||
284 | "zonefiles%s%s", | 284 | "zonefiles%s%s", |
285 | DIR_SEPARATOR_STR, | 285 | DIR_SEPARATOR_STR, |
286 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | 286 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); |
287 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 287 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
288 | "Using zonekey file `%s' \n", hostkey_file); | 288 | "Using zonekey file `%s' \n", hostkey_file); |
289 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file(hostkey_file); | 289 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file(hostkey_file); |
290 | GNUNET_free (hostkey_file); | 290 | GNUNET_free (hostkey_file); |
@@ -339,7 +339,7 @@ int | |||
339 | main (int argc, char *argv[]) | 339 | main (int argc, char *argv[]) |
340 | { | 340 | { |
341 | res = 1; | 341 | res = 1; |
342 | if (0 != | 342 | if (0 != |
343 | GNUNET_TESTING_service_run ("test-namestore-api-monitoring", | 343 | GNUNET_TESTING_service_run ("test-namestore-api-monitoring", |
344 | "namestore", | 344 | "namestore", |
345 | "test_namestore_api.conf", | 345 | "test_namestore_api.conf", |