From ef2dcdf5f7787371fcce2259a7e0736780846b75 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Jun 2011 07:44:22 +0000 Subject: [PATCH] more asserts --- src/datastore/datastore_api.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index 15139b17d..67125c451 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -481,6 +481,7 @@ make_queue_entry (struct GNUNET_DATASTORE_Handle *h, gettext_noop ("# Requests dropped from datastore queue"), 1, GNUNET_NO); + GNUNET_assert (h->queue_head == pos); pos->response_proc (h, NULL); break; } @@ -1296,6 +1297,7 @@ process_result_message (void *cls, return; } qe = h->queue_head; + GNUNET_assert (NULL != qe); rc = qe->qc.rc; if (GNUNET_YES != qe->was_transmitted) { -- 2.25.1