diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-06-18 21:49:23 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-06-18 21:49:23 +0000 |
commit | d8d3021ad9af2abe551fd6cd0fe2529a99d3683c (patch) | |
tree | df0e7f7e1105700f40396e624f1b3f49a20c1197 /src/peerstore/test_peerstore_api_watch.c | |
parent | 240091007e4aa56fa36edb62f526b0d390879d95 (diff) | |
download | gnunet-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.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 | ||