From: Christian Grothoff Date: Wed, 17 Feb 2010 14:02:11 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22690 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8f26a68ab825dd9b4618ebef7f9cfef42b73920a;p=oweals%2Fgnunet.git fix --- 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); }