From: Nathan S. Evans Date: Sat, 4 Sep 2010 19:34:48 +0000 (+0000) Subject: allow multiple request connect messages to be sent to transport (failed to connect... X-Git-Tag: initial-import-from-subversion-38251~20453 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d6498d0f807edde6e6f667e635c1454de0109247;p=oweals%2Fgnunet.git allow multiple request connect messages to be sent to transport (failed to connect first time) --- diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index e715e768a..c4643deec 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c @@ -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; }