From d8d3021ad9af2abe551fd6cd0fe2529a99d3683c Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Sat, 18 Jun 2016 21:49:23 +0000 Subject: -fix --- src/peerstore/test_peerstore_api_sync.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/peerstore/test_peerstore_api_sync.c') diff --git a/src/peerstore/test_peerstore_api_sync.c b/src/peerstore/test_peerstore_api_sync.c index 765ae9113..06d100100 100644 --- a/src/peerstore/test_peerstore_api_sync.c +++ b/src/peerstore/test_peerstore_api_sync.c @@ -79,7 +79,7 @@ static const char *val = "test_peerstore_api_store_val"; * @param emsg any error message * @return #GNUNET_YES (all good, continue) */ -static int +static void iterate_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, const char *emsg) @@ -92,12 +92,10 @@ iterate_cb (void *cls, GNUNET_PEERSTORE_disconnect (h, GNUNET_NO); GNUNET_SCHEDULER_shutdown (); - return GNUNET_YES; } rec_val = record->value; GNUNET_break (0 == strcmp (rec_val, val)); ok = 0; - return GNUNET_YES; } -- cgit v1.2.3