aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-17 14:02:11 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-17 14:02:11 +0000
commit8f26a68ab825dd9b4618ebef7f9cfef42b73920a (patch)
tree71bd22b41899ae64341496021d94846916ba4908 /src
parent9752669a535ee0f1e54fae5f8e2966ea44ae7655 (diff)
downloadgnunet-8f26a68ab825dd9b4618ebef7f9cfef42b73920a.tar.gz
gnunet-8f26a68ab825dd9b4618ebef7f9cfef42b73920a.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/transport/transport_api.c8
1 files 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,
1561{ 1561{
1562 struct GNUNET_TRANSPORT_TransmitHandle *th = cls; 1562 struct GNUNET_TRANSPORT_TransmitHandle *th = cls;
1563 struct NeighbourList *n; 1563 struct NeighbourList *n;
1564 GNUNET_CONNECTION_TransmitReadyNotify notify;
1565 void *notify_cls;
1564 1566
1565 th->notify_delay_task = GNUNET_SCHEDULER_NO_TASK; 1567 th->notify_delay_task = GNUNET_SCHEDULER_NO_TASK;
1568 notify = th->notify;
1569 notify_cls = th->notify_cls;
1566 n = th->neighbour; 1570 n = th->neighbour;
1567 switch (n->transmit_stage) 1571 switch (n->transmit_stage)
1568 { 1572 {
@@ -1583,8 +1587,8 @@ peer_transmit_timeout (void *cls,
1583 default: 1587 default:
1584 GNUNET_break (0); 1588 GNUNET_break (0);
1585 } 1589 }
1586 if (NULL != th->notify) 1590 if (NULL != notify)
1587 th->notify (th->notify_cls, 0, NULL); 1591 notify (notify_cls, 0, NULL);
1588} 1592}
1589 1593
1590 1594