diff options
Diffstat (limited to 'src/peerstore/test_peerstore_api.c')
-rw-r--r-- | src/peerstore/test_peerstore_api.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/peerstore/test_peerstore_api.c b/src/peerstore/test_peerstore_api.c index 02c8815c5..968467231 100644 --- a/src/peerstore/test_peerstore_api.c +++ b/src/peerstore/test_peerstore_api.c | |||
@@ -129,17 +129,6 @@ run (void *cls, | |||
129 | NULL); | 129 | NULL); |
130 | } | 130 | } |
131 | 131 | ||
132 | int iterator (void *cls, const struct GNUNET_HashCode *key, void *value) | ||
133 | { | ||
134 | struct GNUNET_CONTAINER_MultiHashMap *map = cls; | ||
135 | uint32_t *x = value; | ||
136 | |||
137 | printf("Received value: %d\n", *x); | ||
138 | if(*x == 2) | ||
139 | GNUNET_CONTAINER_multihashmap_remove(map, key, value); | ||
140 | return GNUNET_YES; | ||
141 | } | ||
142 | |||
143 | int | 132 | int |
144 | main (int argc, char *argv[]) | 133 | main (int argc, char *argv[]) |
145 | { | 134 | { |