diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-09 13:51:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-09 13:51:16 +0000 |
commit | d00711efe0479e56f21c6e959bcaeae3e43bfeff (patch) | |
tree | 99ddd4dc9d868528631f55c13bed88ac7ea7e6bb /src | |
parent | 5aaf8bbb055d5eac5de37f0b7be615d4d258965e (diff) | |
download | gnunet-d00711efe0479e56f21c6e959bcaeae3e43bfeff.tar.gz gnunet-d00711efe0479e56f21c6e959bcaeae3e43bfeff.zip |
-update bcd template and adjust code accordingly
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/gnunet-bcd.c | 2 | ||||
-rw-r--r-- | src/nse/gnunet-service-nse.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c index c6404f8c4..4e018c12d 100644 --- a/src/gns/gnunet-bcd.c +++ b/src/gns/gnunet-bcd.c | |||
@@ -215,7 +215,7 @@ access_handler_callback (void *cls, struct MHD_Connection *connection, | |||
215 | GNUNET_free (gpg1); | 215 | GNUNET_free (gpg1); |
216 | } | 216 | } |
217 | FPRINTF (f, | 217 | FPRINTF (f, |
218 | "\\def\\gns{gnunet://gns/%s/%s}\n", | 218 | "\\def\\gns{%s/%s}\n", |
219 | gnskey, | 219 | gnskey, |
220 | (NULL == gns_nick) ? "" : gns_nick); | 220 | (NULL == gns_nick) ? "" : gns_nick); |
221 | FCLOSE (f); | 221 | FCLOSE (f); |
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 366770cad..f392dda92 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -959,7 +959,8 @@ verify_message_crypto (const struct GNUNET_NSE_FloodMessage *incoming_flood) | |||
959 | check_proof_of_work (&incoming_flood->origin.public_key, | 959 | check_proof_of_work (&incoming_flood->origin.public_key, |
960 | incoming_flood->proof_of_work)) | 960 | incoming_flood->proof_of_work)) |
961 | { | 961 | { |
962 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Proof of work invalid: %llu!\n", | 962 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
963 | "Proof of work invalid: %llu!\n", | ||
963 | (unsigned long long) | 964 | (unsigned long long) |
964 | GNUNET_ntohll (incoming_flood->proof_of_work)); | 965 | GNUNET_ntohll (incoming_flood->proof_of_work)); |
965 | GNUNET_break_op (0); | 966 | GNUNET_break_op (0); |