From 78469082de0b7fa49724504b7e21bb2e9b4bef05 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Mar 2011 08:48:14 +0000 Subject: better API --- src/datastore/test_datastore_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/datastore/test_datastore_api.c') 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, GNUNET_assert (priority == get_priority (i)); GNUNET_assert (anonymity == get_anonymity(i)); GNUNET_assert (expiration.abs_value == get_expiration(i).abs_value); - GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); + GNUNET_DATASTORE_get_next (datastore); } @@ -249,7 +249,7 @@ delete_value (void *cls, crc->key = *key; crc->data = GNUNET_malloc (size); memcpy (crc->data, data, size); - GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); + GNUNET_DATASTORE_get_next (datastore); } @@ -329,7 +329,7 @@ check_multiple (void *cls, #endif if (priority == get_priority (42)) crc->uid = uid; - GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); + GNUNET_DATASTORE_get_next (datastore); } @@ -370,7 +370,7 @@ check_update (void *cls, } else GNUNET_assert (size == get_size (43)); - GNUNET_DATASTORE_get_next (datastore, GNUNET_YES); + GNUNET_DATASTORE_get_next (datastore); } -- cgit v1.2.3