aboutsummaryrefslogtreecommitdiff
path: root/src/stream
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-11-26 13:16:44 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-11-26 13:16:44 +0000
commitf09ca0dd1661e83739900f3eb39bb24a0ee7d79d (patch)
treedbb7fa1a387d30ae271f9e0054645c53f9b483a6 /src/stream
parenteb3c6390abc5885baf78e9c32a81682acee1019e (diff)
downloadgnunet-f09ca0dd1661e83739900f3eb39bb24a0ee7d79d.tar.gz
gnunet-f09ca0dd1661e83739900f3eb39bb24a0ee7d79d.zip
- use GNUNET_TIME_UNIT_ZERO
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/stream_api.c4
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 */