aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/peerstore_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-30 08:17:37 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-30 08:17:37 +0000
commit95f9076a2139f5fb042b944a0658b6cda2fa35db (patch)
treeb0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/peerstore/peerstore_api.c
parent7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff)
downloadgnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz
gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/peerstore/peerstore_api.c')
-rw-r--r--src/peerstore/peerstore_api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/peerstore/peerstore_api.c b/src/peerstore/peerstore_api.c
index 14117a333..f1c5ccd32 100644
--- a/src/peerstore/peerstore_api.c
+++ b/src/peerstore/peerstore_api.c
@@ -213,7 +213,7 @@ struct GNUNET_PEERSTORE_IterateContext
213 * Task identifier for the function called 213 * Task identifier for the function called
214 * on iterate request timeout 214 * on iterate request timeout
215 */ 215 */
216 struct GNUNET_SCHEDULER_Task * timeout_task; 216 struct GNUNET_SCHEDULER_Task *timeout_task;
217 217
218}; 218};
219 219
@@ -340,7 +340,9 @@ handle_client_error (void *cls, enum GNUNET_MQ_Error error)
340 * @return #GNUNET_YES (continue to iterate) 340 * @return #GNUNET_YES (continue to iterate)
341 */ 341 */
342static int 342static int
343rewatch_it (void *cls, const struct GNUNET_HashCode *key, void *value) 343rewatch_it (void *cls,
344 const struct GNUNET_HashCode *key,
345 void *value)
344{ 346{
345 struct GNUNET_PEERSTORE_Handle *h = cls; 347 struct GNUNET_PEERSTORE_Handle *h = cls;
346 struct GNUNET_PEERSTORE_WatchContext *wc = value; 348 struct GNUNET_PEERSTORE_WatchContext *wc = value;