possible fix for 1844
authorChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 11:08:18 +0000 (11:08 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 11:08:18 +0000 (11:08 +0000)
src/transport/gnunet-service-transport_neighbours.c

index e1e8b8988470262cb9e26b8796c91fac223359fb..2f11d5ae3f1b1cc289f3c5567b8dda2612061a17 100644 (file)
@@ -387,6 +387,7 @@ try_transmission_to_peer (struct NeighbourMapEntry *n)
       break;
     GNUNET_CONTAINER_DLL_remove (n->messages_head, n->messages_tail, mq);
     n->is_active = mq;
+    mq->n = n;
     transmit_send_continuation (mq, &n->id, GNUNET_SYSERR);     /* timeout */
   }
   if (NULL == mq)