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_iterate.c | |
parent | fb12af8319a84389a536ab2f3735daf3b24f11bd (diff) | |
download | gnunet-42c34f9b26b6b0222a10f61850af73914ce5a359.tar.gz gnunet-42c34f9b26b6b0222a10f61850af73914ce5a359.zip |
towards fixing #3581
Diffstat (limited to 'src/peerstore/test_peerstore_api_iterate.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_iterate.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/peerstore/test_peerstore_api_iterate.c b/src/peerstore/test_peerstore_api_iterate.c index 5952d45d1..6881894bd 100644 --- a/src/peerstore/test_peerstore_api_iterate.c +++ b/src/peerstore/test_peerstore_api_iterate.c | |||
@@ -41,8 +41,7 @@ static int count = 0; | |||
41 | 41 | ||
42 | 42 | ||
43 | static int | 43 | static int |
44 | iter3_cb (void *cls, | 44 | iter3_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
45 | const struct GNUNET_PEERSTORE_Record *record, | ||
46 | const char *emsg) | 45 | const char *emsg) |
47 | { | 46 | { |
48 | if (NULL != emsg) | 47 | if (NULL != emsg) |
@@ -61,8 +60,7 @@ iter3_cb (void *cls, | |||
61 | 60 | ||
62 | 61 | ||
63 | static int | 62 | static int |
64 | iter2_cb (void *cls, | 63 | iter2_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
65 | const struct GNUNET_PEERSTORE_Record *record, | ||
66 | const char *emsg) | 64 | const char *emsg) |
67 | { | 65 | { |
68 | if (NULL != emsg) | 66 | if (NULL != emsg) |
@@ -81,8 +79,7 @@ iter2_cb (void *cls, | |||
81 | 79 | ||
82 | 80 | ||
83 | static int | 81 | static int |
84 | iter1_cb (void *cls, | 82 | iter1_cb (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
85 | const struct GNUNET_PEERSTORE_Record *record, | ||
86 | const char *emsg) | 83 | const char *emsg) |
87 | { | 84 | { |
88 | if (NULL != emsg) | 85 | if (NULL != emsg) |