allow multiple request connect messages to be sent to transport (failed to connect...
authorNathan S. Evans <evans@in.tum.de>
Sat, 4 Sep 2010 19:34:48 +0000 (19:34 +0000)
committerNathan S. Evans <evans@in.tum.de>
Sat, 4 Sep 2010 19:34:48 +0000 (19:34 +0000)
src/core/gnunet-service-core.c

index e715e768aaa5adf99fdeee8a160af1ed16c7ef3c..c4643deec89c3ca01b8450b3950f23c81f14ecc0 100644 (file)
@@ -2371,6 +2371,7 @@ notify_transport_connect_done (void *cls, size_t size, void *buf)
     {
       /* transport should only call us to transmit a message after
        * telling us about a successful connection to the respective peer */
+      n->th = NULL; /* If this happens because of a timeout, reset n-th so another message may be sent for this peer! */
       GNUNET_break (0);
       return 0;
     }