aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/test_peerstore_api_watch.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2016-06-18 21:49:23 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2016-06-18 21:49:23 +0000
commitd8d3021ad9af2abe551fd6cd0fe2529a99d3683c (patch)
treedf0e7f7e1105700f40396e624f1b3f49a20c1197 /src/peerstore/test_peerstore_api_watch.c
parent240091007e4aa56fa36edb62f526b0d390879d95 (diff)
downloadgnunet-d8d3021ad9af2abe551fd6cd0fe2529a99d3683c.tar.gz
gnunet-d8d3021ad9af2abe551fd6cd0fe2529a99d3683c.zip
-fix
Diffstat (limited to 'src/peerstore/test_peerstore_api_watch.c')
-rw-r--r--src/peerstore/test_peerstore_api_watch.c3
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;
35static char *k = "test_peerstore_api_watch_key"; 35static char *k = "test_peerstore_api_watch_key";
36static char *val = "test_peerstore_api_watch_val"; 36static char *val = "test_peerstore_api_watch_val";
37 37
38static int 38static void
39watch_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, 39watch_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