diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
commit | 95f9076a2139f5fb042b944a0658b6cda2fa35db (patch) | |
tree | b0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/psycstore/test_psycstore.c | |
parent | 7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff) | |
download | gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip |
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/psycstore/test_psycstore.c')
-rw-r--r-- | src/psycstore/test_psycstore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/psycstore/test_psycstore.c b/src/psycstore/test_psycstore.c index 266ee5c1d..2582cbf3f 100644 --- a/src/psycstore/test_psycstore.c +++ b/src/psycstore/test_psycstore.c | |||
@@ -54,7 +54,7 @@ static struct GNUNET_PSYCSTORE_OperationHandle *op; | |||
54 | /** | 54 | /** |
55 | * Handle for task for timeout termination. | 55 | * Handle for task for timeout termination. |
56 | */ | 56 | */ |
57 | static struct GNUNET_SCHEDULER_Task * end_badly_task; | 57 | static struct GNUNET_SCHEDULER_Task *end_badly_task; |
58 | 58 | ||
59 | static struct GNUNET_CRYPTO_EddsaPrivateKey *channel_key; | 59 | static struct GNUNET_CRYPTO_EddsaPrivateKey *channel_key; |
60 | static struct GNUNET_CRYPTO_EcdsaPrivateKey *slave_key; | 60 | static struct GNUNET_CRYPTO_EcdsaPrivateKey *slave_key; |
@@ -141,7 +141,7 @@ end_normally (void *cls) | |||
141 | static void | 141 | static void |
142 | end () | 142 | end () |
143 | { | 143 | { |
144 | if (end_badly_task != NULL) | 144 | if (NULL != end_badly_task) |
145 | { | 145 | { |
146 | GNUNET_SCHEDULER_cancel (end_badly_task); | 146 | GNUNET_SCHEDULER_cancel (end_badly_task); |
147 | end_badly_task = NULL; | 147 | end_badly_task = NULL; |