From f09ca0dd1661e83739900f3eb39bb24a0ee7d79d Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Mon, 26 Nov 2012 13:16:44 +0000 Subject: [PATCH] - use GNUNET_TIME_UNIT_ZERO --- src/stream/stream_api.c | 4 ++-- 1 file 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) head = socket->queue_head; if (NULL != head) /* more pending messages to send */ { - socket->mesh_retry_timeout = GNUNET_TIME_relative_get_zero_ (); + socket->mesh_retry_timeout = GNUNET_TIME_UNIT_ZERO; socket->transmit_handle = GNUNET_MESH_notify_transmit_ready (socket->tunnel, GNUNET_NO, /* Corking */ @@ -698,7 +698,7 @@ queue_message (struct GNUNET_STREAM_Socket *socket, queue_entity); if (NULL == socket->transmit_handle) { - socket->mesh_retry_timeout = GNUNET_TIME_relative_get_zero_ (); + socket->mesh_retry_timeout = GNUNET_TIME_UNIT_ZERO; socket->transmit_handle = GNUNET_MESH_notify_transmit_ready (socket->tunnel, GNUNET_NO, /* Corking */ -- 2.25.1