From 8f26a68ab825dd9b4618ebef7f9cfef42b73920a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 17 Feb 2010 14:02:11 +0000 Subject: [PATCH] fix --- src/transport/transport_api.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index 9025eedc7..337adc364 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -1561,8 +1561,12 @@ peer_transmit_timeout (void *cls, { struct GNUNET_TRANSPORT_TransmitHandle *th = cls; struct NeighbourList *n; + GNUNET_CONNECTION_TransmitReadyNotify notify; + void *notify_cls; th->notify_delay_task = GNUNET_SCHEDULER_NO_TASK; + notify = th->notify; + notify_cls = th->notify_cls; n = th->neighbour; switch (n->transmit_stage) { @@ -1583,8 +1587,8 @@ peer_transmit_timeout (void *cls, default: GNUNET_break (0); } - if (NULL != th->notify) - th->notify (th->notify_cls, 0, NULL); + if (NULL != notify) + notify (notify_cls, 0, NULL); } -- 2.25.1