diff options
Diffstat (limited to 'src/util/gnunet-scrypt.c')
-rw-r--r-- | src/util/gnunet-scrypt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/gnunet-scrypt.c b/src/util/gnunet-scrypt.c index 6fd871cbe..faf04cf27 100644 --- a/src/util/gnunet-scrypt.c +++ b/src/util/gnunet-scrypt.c | |||
@@ -51,7 +51,7 @@ static char *pwfn; | |||
51 | 51 | ||
52 | /** | 52 | /** |
53 | * Write our current proof to disk. | 53 | * Write our current proof to disk. |
54 | * | 54 | * |
55 | * @param cls closure | 55 | * @param cls closure |
56 | */ | 56 | */ |
57 | static void | 57 | static void |
@@ -65,7 +65,7 @@ shutdown_task (void *cls) | |||
65 | GNUNET_DISK_PERM_USER_WRITE)) | 65 | GNUNET_DISK_PERM_USER_WRITE)) |
66 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, | 66 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, |
67 | "write", | 67 | "write", |
68 | proof); | 68 | pwfn); |
69 | } | 69 | } |
70 | 70 | ||
71 | 71 | ||
@@ -129,7 +129,7 @@ find_proof (void *cls) | |||
129 | 129 | ||
130 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 130 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
131 | "Got Proof of Work %llu\n", | 131 | "Got Proof of Work %llu\n", |
132 | proof); | 132 | (unsigned long long) proof); |
133 | proof_task = NULL; | 133 | proof_task = NULL; |
134 | memcpy (&buf[sizeof (uint64_t)], &pub, | 134 | memcpy (&buf[sizeof (uint64_t)], &pub, |
135 | sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)); | 135 | sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)); |
@@ -290,7 +290,7 @@ run (void *cls, | |||
290 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 290 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
291 | "Delay between tries: %s\n", | 291 | "Delay between tries: %s\n", |
292 | GNUNET_STRINGS_relative_time_to_string (proof_find_delay, 1)); | 292 | GNUNET_STRINGS_relative_time_to_string (proof_find_delay, 1)); |
293 | proof_task = | 293 | proof_task = |
294 | GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, | 294 | GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, |
295 | &find_proof, | 295 | &find_proof, |
296 | NULL); | 296 | NULL); |