diff options
Diffstat (limited to 'src/peerstore/test_peerstore_api_sync.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_sync.c | 4 |
1 files changed, 1 insertions, 3 deletions
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"; | |||
79 | * @param emsg any error message | 79 | * @param emsg any error message |
80 | * @return #GNUNET_YES (all good, continue) | 80 | * @return #GNUNET_YES (all good, continue) |
81 | */ | 81 | */ |
82 | static int | 82 | static void |
83 | iterate_cb (void *cls, | 83 | iterate_cb (void *cls, |
84 | const struct GNUNET_PEERSTORE_Record *record, | 84 | const struct GNUNET_PEERSTORE_Record *record, |
85 | const char *emsg) | 85 | const char *emsg) |
@@ -92,12 +92,10 @@ iterate_cb (void *cls, | |||
92 | GNUNET_PEERSTORE_disconnect (h, | 92 | GNUNET_PEERSTORE_disconnect (h, |
93 | GNUNET_NO); | 93 | GNUNET_NO); |
94 | GNUNET_SCHEDULER_shutdown (); | 94 | GNUNET_SCHEDULER_shutdown (); |
95 | return GNUNET_YES; | ||
96 | } | 95 | } |
97 | rec_val = record->value; | 96 | rec_val = record->value; |
98 | GNUNET_break (0 == strcmp (rec_val, val)); | 97 | GNUNET_break (0 == strcmp (rec_val, val)); |
99 | ok = 0; | 98 | ok = 0; |
100 | return GNUNET_YES; | ||
101 | } | 99 | } |
102 | 100 | ||
103 | 101 | ||