aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-service-namestore.c
diff options
context:
space:
mode:
authorwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2012-03-27 13:41:06 +0000
committerwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2012-03-27 13:41:06 +0000
commitcd9402ede1cf6e6a96a30944fb8a78fe0f4bf6c0 (patch)
tree5a1b046899f6f94deec2c2109c4f3896f522e1be /src/namestore/gnunet-service-namestore.c
parent11eb8866e294906b1c8cae380c29bd95750c9b73 (diff)
- fixing offset
git-svn-id: https://gnunet.org/svn/gnunet@20784 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r--src/namestore/gnunet-service-namestore.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c
index dd45f14954..7facd5e39a 100644
--- a/src/namestore/gnunet-service-namestore.c
+++ b/src/namestore/gnunet-service-namestore.c
@@ -1026,18 +1026,11 @@ handle_record_remove_it (void *cls,
found = GNUNET_SYSERR;
for (c = 0; c < rd_count; c++)
{
- GNUNET_break(0);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SENT FLAGES: %u \n",rd[c].flags);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "STORED FLAGES: %u \n",rrc->rd->flags);
/*
if (rd[c].flags != rrc->rd->flags)
continue;*/
- GNUNET_break(0);
if (rd[c].record_type != rrc->rd->record_type)
continue;
- GNUNET_break(0);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SENT FLAGES: %u \n",rd[c].data_size);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "STORED FLAGES: %u \n",rrc->rd->data_size);
/*
if (rd[c].data_size != rrc->rd->data_size)
continue;
@@ -1590,8 +1583,8 @@ void find_next_zone_iteration_result (struct ZoneIterationProcResult *proc)
do
{
+ GSN_database->iterate_records (GSN_database->cls, zone , NULL, proc->zi->offset, &zone_iteraterate_proc, proc);
proc->zi->offset++;
- GSN_database->iterate_records (GSN_database->cls, NULL , NULL, proc->zi->offset, &zone_iteraterate_proc, proc);
}
while ((proc->records_included == 0) && (GNUNET_NO == proc->res_iteration_finished));
}