aboutsummaryrefslogtreecommitdiff
path: root/src/service/peerstore/test_peerstore_api_watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/peerstore/test_peerstore_api_watch.c')
-rw-r--r--src/service/peerstore/test_peerstore_api_watch.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/service/peerstore/test_peerstore_api_watch.c b/src/service/peerstore/test_peerstore_api_watch.c
index 90f1180f8..8ce39456f 100644
--- a/src/service/peerstore/test_peerstore_api_watch.c
+++ b/src/service/peerstore/test_peerstore_api_watch.c
@@ -55,6 +55,19 @@ finish (void *cls)
55} 55}
56 56
57 57
58/**
59 * Continuation called with a status result.
60 *
61 * @param cls closure
62 * @param success #GNUNET_OK or #GNUNET_SYSERR
63 */
64static void
65cont2 (void *cls, int success)
66{
67 sr = NULL;
68}
69
70
58static void 71static void
59cont (void *cls) 72cont (void *cls)
60{ 73{
@@ -66,7 +79,7 @@ cont (void *cls)
66 strlen (val) + 1, 79 strlen (val) + 1,
67 GNUNET_TIME_UNIT_FOREVER_ABS, 80 GNUNET_TIME_UNIT_FOREVER_ABS,
68 GNUNET_PEERSTORE_STOREOPTION_REPLACE, 81 GNUNET_PEERSTORE_STOREOPTION_REPLACE,
69 NULL, 82 &cont2,
70 NULL); 83 NULL);
71} 84}
72 85