aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r--src/transport/transport_api.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c
index b732871ca..fed611e49 100644
--- a/src/transport/transport_api.c
+++ b/src/transport/transport_api.c
@@ -295,7 +295,8 @@ struct GNUNET_TRANSPORT_Handle
295 * 295 *
296 * @param h transport service to schedule a transmission for 296 * @param h transport service to schedule a transmission for
297 */ 297 */
298static void schedule_transmission (struct GNUNET_TRANSPORT_Handle *h); 298static void
299schedule_transmission (struct GNUNET_TRANSPORT_Handle *h);
299 300
300 301
301/** 302/**
@@ -304,8 +305,8 @@ static void schedule_transmission (struct GNUNET_TRANSPORT_Handle *h);
304 * 305 *
305 * @param h transport service to reconnect 306 * @param h transport service to reconnect
306 */ 307 */
307static void disconnect_and_schedule_reconnect (struct GNUNET_TRANSPORT_Handle 308static void
308 *h); 309disconnect_and_schedule_reconnect (struct GNUNET_TRANSPORT_Handle *h);
309 310
310 311
311/** 312/**
@@ -659,8 +660,8 @@ transport_notify_ready (void *cls, size_t size, void *buf)
659 th = n->th; 660 th = n->th;
660 if (th->notify_size + sizeof (struct OutboundMessage) > size) 661 if (th->notify_size + sizeof (struct OutboundMessage) > size)
661 break; /* does not fit */ 662 break; /* does not fit */
662 if (GNUNET_BANDWIDTH_tracker_get_delay (&n->out_tracker, th->notify_size). 663 if (GNUNET_BANDWIDTH_tracker_get_delay
663 rel_value > 0) 664 (&n->out_tracker, th->notify_size).rel_value > 0)
664 break; /* too early */ 665 break; /* too early */
665 GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap)); 666 GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap));
666 n->hn = NULL; 667 n->hn = NULL;