deq from correct queue
authorChristian Grothoff <christian@grothoff.org>
Wed, 2 May 2018 00:00:23 +0000 (02:00 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 2 May 2018 00:00:23 +0000 (02:00 +0200)
src/zonemaster/gnunet-service-zonemaster.c

index 322a1093b635b4b24fff4d28d4f982f75f4b1429..7129cf44f24a495da733abbf8d561e6ff3f18e8c 100644 (file)
@@ -946,7 +946,7 @@ handle_monitor_event (void *cls,
   ma_queue_length++;
   if (ma_queue_length > DHT_QUEUE_LIMIT)
   {
-    ma = it_head;
+    ma = ma_head;
     GNUNET_CONTAINER_DLL_remove (ma_head,
                                  ma_tail,
                                  ma);