diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-25 08:48:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-25 08:48:14 +0000 |
commit | 78469082de0b7fa49724504b7e21bb2e9b4bef05 (patch) | |
tree | cc672be10a2a40003828ec18844774150f27b9ba /src/datastore/test_datastore_api.c | |
parent | 2574474f98d5a4feefab2bbd7092c9d0ff9d64e8 (diff) | |
download | gnunet-78469082de0b7fa49724504b7e21bb2e9b4bef05.tar.gz gnunet-78469082de0b7fa49724504b7e21bb2e9b4bef05.zip |
better API
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r-- | src/datastore/test_datastore_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c index b7809c3d7..d8e4b7b34 100644 --- a/src/datastore/test_datastore_api.c +++ b/src/datastore/test_datastore_api.c | |||
@@ -210,7 +210,7 @@ check_value (void *cls, | |||
210 | GNUNET_assert (priority == get_priority (i)); | 210 | GNUNET_assert (priority == get_priority (i)); |
211 | GNUNET_assert (anonymity == get_anonymity(i)); | 211 | GNUNET_assert (anonymity == get_anonymity(i)); |
212 | GNUNET_assert (expiration.abs_value == get_expiration(i).abs_value); | 212 | GNUNET_assert (expiration.abs_value == get_expiration(i).abs_value); |
213 | GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); | 213 | GNUNET_DATASTORE_get_next (datastore); |
214 | } | 214 | } |
215 | 215 | ||
216 | 216 | ||
@@ -249,7 +249,7 @@ delete_value (void *cls, | |||
249 | crc->key = *key; | 249 | crc->key = *key; |
250 | crc->data = GNUNET_malloc (size); | 250 | crc->data = GNUNET_malloc (size); |
251 | memcpy (crc->data, data, size); | 251 | memcpy (crc->data, data, size); |
252 | GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); | 252 | GNUNET_DATASTORE_get_next (datastore); |
253 | } | 253 | } |
254 | 254 | ||
255 | 255 | ||
@@ -329,7 +329,7 @@ check_multiple (void *cls, | |||
329 | #endif | 329 | #endif |
330 | if (priority == get_priority (42)) | 330 | if (priority == get_priority (42)) |
331 | crc->uid = uid; | 331 | crc->uid = uid; |
332 | GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); | 332 | GNUNET_DATASTORE_get_next (datastore); |
333 | } | 333 | } |
334 | 334 | ||
335 | 335 | ||
@@ -370,7 +370,7 @@ check_update (void *cls, | |||
370 | } | 370 | } |
371 | else | 371 | else |
372 | GNUNET_assert (size == get_size (43)); | 372 | GNUNET_assert (size == get_size (43)); |
373 | GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); | 373 | GNUNET_DATASTORE_get_next (datastore); |
374 | } | 374 | } |
375 | 375 | ||
376 | 376 | ||