aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/test_peerstore_api_watch.c
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-12-18 17:39:01 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-12-18 17:39:01 +0000
commit42c34f9b26b6b0222a10f61850af73914ce5a359 (patch)
tree35d3e09cba60749f93c0ddc0f9032fcd89a22288 /src/peerstore/test_peerstore_api_watch.c
parentfb12af8319a84389a536ab2f3735daf3b24f11bd (diff)
downloadgnunet-42c34f9b26b6b0222a10f61850af73914ce5a359.tar.gz
gnunet-42c34f9b26b6b0222a10f61850af73914ce5a359.zip
towards fixing #3581
Diffstat (limited to 'src/peerstore/test_peerstore_api_watch.c')
-rw-r--r--src/peerstore/test_peerstore_api_watch.c3
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";
36static char *val = "test_peerstore_api_watch_val"; 36static char *val = "test_peerstore_api_watch_val";
37 37
38static int 38static int
39watch_cb (void *cls, struct GNUNET_PEERSTORE_Record *record, char *emsg) 39watch_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));