From a5e3e870f27c8ef3a3cd5d59a686a3050f9c64fb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 1 May 2018 12:44:39 +0200 Subject: more extensive namestore tests for the non-sqlite plugins, with bugfixes --- src/namestore/gnunet-service-namestore.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/namestore/gnunet-service-namestore.c') diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 0456e5c15..2172ed0c7 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c @@ -1108,12 +1108,11 @@ handle_record_store (void *cls, conv_name); if ( (0 == rd_count) && (GNUNET_NO == - GSN_database->iterate_records (GSN_database->cls, - &rp_msg->private_key, - 0, - 1, - NULL, - 0)) ) + GSN_database->lookup_records (GSN_database->cls, + &rp_msg->private_key, + conv_name, + NULL, + 0)) ) { /* This name does not exist, so cannot be removed */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, -- cgit v1.2.3