diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-10 04:07:55 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-10 04:07:55 +0000 |
commit | 70a352ee130e75f003dd8c4720c44023f320e12f (patch) | |
tree | 11895040a4bc8769cc62e97b0c1f5cf2d9a29bc0 /src/nse | |
parent | 9858568a135dd5fd72dcc25a6cf55ceb672035a5 (diff) | |
download | gnunet-70a352ee130e75f003dd8c4720c44023f320e12f.tar.gz gnunet-70a352ee130e75f003dd8c4720c44023f320e12f.zip |
- use proper log function
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index f392dda92..3cda2b114 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -834,7 +834,7 @@ count_leading_zeroes (const struct GNUNET_HashCode *hash) | |||
834 | unsigned int hash_count; | 834 | unsigned int hash_count; |
835 | 835 | ||
836 | hash_count = 0; | 836 | hash_count = 0; |
837 | while ((0 == GNUNET_CRYPTO_hash_get_bit (hash, hash_count))) | 837 | while (0 == GNUNET_CRYPTO_hash_get_bit (hash, hash_count)) |
838 | hash_count++; | 838 | hash_count++; |
839 | return hash_count; | 839 | return hash_count; |
840 | } | 840 | } |
@@ -1483,9 +1483,7 @@ run (void *cls, | |||
1483 | if (GNUNET_OK != | 1483 | if (GNUNET_OK != |
1484 | GNUNET_CONFIGURATION_get_value_filename (cfg, "NSE", "PROOFFILE", &proof)) | 1484 | GNUNET_CONFIGURATION_get_value_filename (cfg, "NSE", "PROOFFILE", &proof)) |
1485 | { | 1485 | { |
1486 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1486 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, "NSE", "PROOFFILE"); |
1487 | _ | ||
1488 | ("NSE service is lacking key configuration settings. Exiting.\n")); | ||
1489 | GNUNET_free (my_private_key); | 1487 | GNUNET_free (my_private_key); |
1490 | my_private_key = NULL; | 1488 | my_private_key = NULL; |
1491 | GNUNET_SCHEDULER_shutdown (); | 1489 | GNUNET_SCHEDULER_shutdown (); |