diff options
Diffstat (limited to 'src/stream/stream_api.c')
-rw-r--r-- | src/stream/stream_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/stream_api.c b/src/stream/stream_api.c index 562f2279c..8b771f84b 100644 --- a/src/stream/stream_api.c +++ b/src/stream/stream_api.c | |||
@@ -636,7 +636,7 @@ send_message_notify (void *cls, size_t size, void *buf) | |||
636 | head = socket->queue_head; | 636 | head = socket->queue_head; |
637 | if (NULL != head) /* more pending messages to send */ | 637 | if (NULL != head) /* more pending messages to send */ |
638 | { | 638 | { |
639 | socket->mesh_retry_timeout = GNUNET_TIME_relative_get_zero_ (); | 639 | socket->mesh_retry_timeout = GNUNET_TIME_UNIT_ZERO; |
640 | socket->transmit_handle = | 640 | socket->transmit_handle = |
641 | GNUNET_MESH_notify_transmit_ready (socket->tunnel, | 641 | GNUNET_MESH_notify_transmit_ready (socket->tunnel, |
642 | GNUNET_NO, /* Corking */ | 642 | GNUNET_NO, /* Corking */ |
@@ -698,7 +698,7 @@ queue_message (struct GNUNET_STREAM_Socket *socket, | |||
698 | queue_entity); | 698 | queue_entity); |
699 | if (NULL == socket->transmit_handle) | 699 | if (NULL == socket->transmit_handle) |
700 | { | 700 | { |
701 | socket->mesh_retry_timeout = GNUNET_TIME_relative_get_zero_ (); | 701 | socket->mesh_retry_timeout = GNUNET_TIME_UNIT_ZERO; |
702 | socket->transmit_handle = | 702 | socket->transmit_handle = |
703 | GNUNET_MESH_notify_transmit_ready (socket->tunnel, | 703 | GNUNET_MESH_notify_transmit_ready (socket->tunnel, |
704 | GNUNET_NO, /* Corking */ | 704 | GNUNET_NO, /* Corking */ |