From a729eb5f4fdb1b240a705a9f76d6cc0c4a575b9f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 13 Nov 2009 11:38:52 +0000 Subject: [PATCH] use add now instead of running immediately, which may free th and have some odd effects --- src/transport/transport_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index c98194da0..24803f9c7 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -1917,7 +1917,9 @@ GNUNET_TRANSPORT_notify_transmit_ready (struct GNUNET_TRANSPORT_Handle "Peer `%4s' is ready to receive, scheduling message for delivery now.\n", GNUNET_i2s (target)); #endif - schedule_request (th); + th->notify_delay_task + = GNUNET_SCHEDULER_add_now (handle->sched, + &peer_transmit_timeout, th); return th; } -- 2.25.1