aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-17 07:44:22 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-17 07:44:22 +0000
commitef2dcdf5f7787371fcce2259a7e0736780846b75 (patch)
treec2f3e0fc6aba022a608062c9a74d85336d5f752a /src/datastore
parentec79bfa820a581e90822a1ab607f051639c94b8e (diff)
downloadgnunet-ef2dcdf5f7787371fcce2259a7e0736780846b75.tar.gz
gnunet-ef2dcdf5f7787371fcce2259a7e0736780846b75.zip
more asserts
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/datastore_api.c2
1 files changed, 2 insertions, 0 deletions
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,
481 gettext_noop ("# Requests dropped from datastore queue"), 481 gettext_noop ("# Requests dropped from datastore queue"),
482 1, 482 1,
483 GNUNET_NO); 483 GNUNET_NO);
484 GNUNET_assert (h->queue_head == pos);
484 pos->response_proc (h, NULL); 485 pos->response_proc (h, NULL);
485 break; 486 break;
486 } 487 }
@@ -1296,6 +1297,7 @@ process_result_message (void *cls,
1296 return; 1297 return;
1297 } 1298 }
1298 qe = h->queue_head; 1299 qe = h->queue_head;
1300 GNUNET_assert (NULL != qe);
1299 rc = qe->qc.rc; 1301 rc = qe->qc.rc;
1300 if (GNUNET_YES != qe->was_transmitted) 1302 if (GNUNET_YES != qe->was_transmitted)
1301 { 1303 {