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, 2 insertions, 1 deletions
diff --git a/src/peerstore/test_peerstore_api_watch.c b/src/peerstore/test_peerstore_api_watch.c index 3820f68f6..378cb74d1 100644 --- a/src/peerstore/test_peerstore_api_watch.c +++ b/src/peerstore/test_peerstore_api_watch.c | |||
@@ -36,7 +36,8 @@ 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 int |
39 | watch_cb (void *cls, struct GNUNET_PEERSTORE_Record *record, char *emsg) | 39 | watch_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
40 | const char *emsg) | ||
40 | { | 41 | { |
41 | GNUNET_assert (NULL == emsg); | 42 | GNUNET_assert (NULL == emsg); |
42 | GNUNET_assert (0 == strcmp (val, (char *) record->value)); | 43 | GNUNET_assert (0 == strcmp (val, (char *) record->value)); |