assert
authorChristian Grothoff <christian@grothoff.org>
Fri, 14 May 2010 13:02:42 +0000 (13:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 14 May 2010 13:02:42 +0000 (13:02 +0000)
src/datastore/datastore_api.c

index f3db9446940ae8f20bf8838dd9b75bffd4bffae1..24f0585564fda8a581809c1b3ec445a0fbcd6d82 100644 (file)
@@ -989,6 +989,7 @@ process_result_message (void *cls,
   struct ResultContext *rc = qe->client_ctx;
   const struct DataMessage *dm;
 
+  GNUNET_assert (h->queue_head == qe);
   if (msg == NULL)
     {
 #if DEBUG_DATASTORE