diff options
Diffstat (limited to 'src/util/gnunet-scrypt.c')
-rw-r--r-- | src/util/gnunet-scrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/gnunet-scrypt.c b/src/util/gnunet-scrypt.c index b6a9969da4..6e3fcd33ad 100644 --- a/src/util/gnunet-scrypt.c +++ b/src/util/gnunet-scrypt.c @@ -40,7 +40,7 @@ static struct GNUNET_CRYPTO_EddsaPublicKey pub; static uint64_t proof; -static GNUNET_SCHEDULER_TaskIdentifier proof_task; +static struct GNUNET_SCHEDULER_Task * proof_task; static const struct GNUNET_CONFIGURATION_Handle *cfg; @@ -128,7 +128,7 @@ find_proof (void *cls, return; } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got Proof of Work %llu\n", proof); - proof_task = GNUNET_SCHEDULER_NO_TASK; + proof_task = NULL; memcpy (&buf[sizeof (uint64_t)], &pub, sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)); i = 0; |