[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13442 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13442 - gnunet/src/util |
Date: |
Thu, 28 Oct 2010 00:15:49 +0200 |
Author: grothoff
Date: 2010-10-28 00:15:49 +0200 (Thu, 28 Oct 2010)
New Revision: 13442
Modified:
gnunet/src/util/network.c
Log:
fix
Modified: gnunet/src/util/network.c
===================================================================
--- gnunet/src/util/network.c 2010-10-27 20:47:51 UTC (rev 13441)
+++ gnunet/src/util/network.c 2010-10-27 22:15:49 UTC (rev 13442)
@@ -1048,11 +1048,11 @@
#define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set))
/* calculate how long we need to wait in milliseconds */
- if (timeout.abs_value == GNUNET_TIME_UNIT_FOREVER_REL.rel_value)
+ if (timeout.rel_value == GNUNET_TIME_UNIT_FOREVER_REL.rel_value)
ms_total = INFINITE;
else
- ms_total = timeout.abs_value / GNUNET_TIME_UNIT_MILLISECONDS.abs_value;
+ ms_total = timeout.rel_value / GNUNET_TIME_UNIT_MILLISECONDS.rel_value;
/* select() may be used as a portable way to sleep */
if (!(rfds || wfds || efds))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13442 - gnunet/src/util,
gnunet <=