diff options
Diffstat (limited to 'src/peerstore/test_peerstore_api_watch.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_watch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/peerstore/test_peerstore_api_watch.c b/src/peerstore/test_peerstore_api_watch.c index 27948294f..91902ba9e 100644 --- a/src/peerstore/test_peerstore_api_watch.c +++ b/src/peerstore/test_peerstore_api_watch.c | |||
@@ -35,7 +35,7 @@ static struct GNUNET_PeerIdentity p; | |||
35 | static char *k = "test_peerstore_api_watch_key"; | 35 | static char *k = "test_peerstore_api_watch_key"; |
36 | static char *val = "test_peerstore_api_watch_val"; | 36 | static char *val = "test_peerstore_api_watch_val"; |
37 | 37 | ||
38 | static int | 38 | static void |
39 | watch_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, | 39 | watch_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
40 | const char *emsg) | 40 | const char *emsg) |
41 | { | 41 | { |
@@ -44,7 +44,6 @@ watch_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, | |||
44 | ok = 0; | 44 | ok = 0; |
45 | GNUNET_PEERSTORE_disconnect (h, GNUNET_NO); | 45 | GNUNET_PEERSTORE_disconnect (h, GNUNET_NO); |
46 | GNUNET_SCHEDULER_shutdown (); | 46 | GNUNET_SCHEDULER_shutdown (); |
47 | return GNUNET_YES; | ||
48 | } | 47 | } |
49 | 48 | ||
50 | 49 | ||