- queue_destroy does all the work
authorBart Polot <bart@net.in.tum.de>
Thu, 11 Jul 2013 12:53:07 +0000 (12:53 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 11 Jul 2013 12:53:07 +0000 (12:53 +0000)
src/mesh/gnunet-service-mesh.c

index 35650a5f867f4c1ddadd8d13430ef8c17c1db6b4..5d6984424aed340dc4de9bc590a98dc0a8029fa4 100644 (file)
@@ -3234,7 +3234,6 @@ queue_add (void *cls, uint16_t type, size_t size,
             GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                         "dropping pid: %u\n", pid_q);
             queue_destroy (queue, GNUNET_YES);
-            fc->queue_n--;
             t->pending_messages--;
             priority = GNUNET_YES;
             break;