fixing bug #1812
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 4 Oct 2011 11:16:00 +0000 (11:16 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 4 Oct 2011 11:16:00 +0000 (11:16 +0000)
n->is_active was not set to mq

src/transport/gnunet-service-transport_neighbours.c

index e35370ad7c2b32ec0b5bdc74c710a96f90a7fc48..8a588223f8ede842273097dc264a602209926d5d 100644 (file)
@@ -380,6 +380,7 @@ try_transmission_to_peer (struct NeighbourMapEntry *n)
     if (timeout.rel_value > 0)
       break;
     GNUNET_CONTAINER_DLL_remove (n->messages_head, n->messages_tail, mq);
+    n->is_active = mq;
     transmit_send_continuation (mq, &n->id, GNUNET_SYSERR);     /* timeout */
   }
   if (NULL == mq)