diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-12-18 17:39:01 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-12-18 17:39:01 +0000 |
commit | 42c34f9b26b6b0222a10f61850af73914ce5a359 (patch) | |
tree | 35d3e09cba60749f93c0ddc0f9032fcd89a22288 /src/peerstore/test_peerstore_api_watch.c | |
parent | fb12af8319a84389a536ab2f3735daf3b24f11bd (diff) | |
download | gnunet-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.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)); |