insert at tail
authorChristian Grothoff <christian@grothoff.org>
Mon, 30 Apr 2018 16:59:15 +0000 (18:59 +0200)
committerChristian Grothoff <christian@grothoff.org>
Mon, 30 Apr 2018 16:59:15 +0000 (18:59 +0200)
src/zonemaster/gnunet-service-zonemaster.c

index 324eb3b5deb3f0559fdfde6ea5a6ba80482d31e4..23db61d84aa786a295a27c64320b0651821a879d 100644 (file)
@@ -931,9 +931,9 @@ handle_monitor_event (void *cls,
     GNUNET_free (ma);
     return;
   }
-  GNUNET_CONTAINER_DLL_insert (ma_head,
-                               ma_tail,
-                               ma);
+  GNUNET_CONTAINER_DLL_insert_tail (ma_head,
+                                   ma_tail,
+                                   ma);
   ma_queue_length++;
   if (ma_queue_length > DHT_QUEUE_LIMIT)
   {