diff options
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) |