diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-22 16:27:34 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-22 16:27:34 +0100 |
commit | ae82c19b277ae3f5f43379ed6fc384aba4fdea83 (patch) | |
tree | c5c03c1e718cfb33c8283d5f9c0879730a63547a /src/peerstore/test_peerstore_api_store.c | |
parent | a567f15a1d1c9c8bd17135a120df44da2b85cd8a (diff) | |
download | gnunet-ae82c19b277ae3f5f43379ed6fc384aba4fdea83.tar.gz gnunet-ae82c19b277ae3f5f43379ed6fc384aba4fdea83.zip |
simplify peerstore API
Diffstat (limited to 'src/peerstore/test_peerstore_api_store.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_store.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/peerstore/test_peerstore_api_store.c b/src/peerstore/test_peerstore_api_store.c index 194b96104..c3c03efc9 100644 --- a/src/peerstore/test_peerstore_api_store.c +++ b/src/peerstore/test_peerstore_api_store.c | |||
@@ -71,7 +71,6 @@ test3_cont (void *cls, | |||
71 | subsystem, | 71 | subsystem, |
72 | &pid, | 72 | &pid, |
73 | key, | 73 | key, |
74 | GNUNET_TIME_UNIT_SECONDS, | ||
75 | &test3_cont2, | 74 | &test3_cont2, |
76 | NULL); | 75 | NULL); |
77 | } | 76 | } |
@@ -127,8 +126,8 @@ test2_cont (void *cls, int success) | |||
127 | GNUNET_PEERSTORE_iterate (h, | 126 | GNUNET_PEERSTORE_iterate (h, |
128 | subsystem, | 127 | subsystem, |
129 | &pid, key, | 128 | &pid, key, |
130 | GNUNET_TIME_UNIT_SECONDS, | 129 | &test2_cont2, |
131 | &test2_cont2, NULL); | 130 | NULL); |
132 | } | 131 | } |
133 | 132 | ||
134 | 133 | ||
@@ -181,7 +180,6 @@ test1_cont (void *cls, int success) | |||
181 | subsystem, | 180 | subsystem, |
182 | &pid, | 181 | &pid, |
183 | key, | 182 | key, |
184 | GNUNET_TIME_UNIT_SECONDS, | ||
185 | &test1_cont2, | 183 | &test1_cont2, |
186 | NULL); | 184 | NULL); |
187 | } | 185 | } |