[Getdata-commits] SF.net SVN: getdata:[844] trunk/defile/bin/net.c
Scientific Database Format
Brought to you by:
ketiltrout
|
From: <ket...@us...> - 2013-07-29 16:10:21
|
Revision: 844
http://sourceforge.net/p/getdata/code/844
Author: ketiltrout
Date: 2013-07-29 16:10:17 +0000 (Mon, 29 Jul 2013)
Log Message:
-----------
Fix timeout.
Modified Paths:
--------------
trunk/defile/bin/net.c
Modified: trunk/defile/bin/net.c
===================================================================
--- trunk/defile/bin/net.c 2013-07-27 12:24:20 UTC (rev 843)
+++ trunk/defile/bin/net.c 2013-07-29 16:10:17 UTC (rev 844)
@@ -1376,8 +1376,8 @@
/* set up for select */
FD_ZERO(&fds);
FD_SET(sock, &fds);
- timeout.tv_sec = 0;
- timeout.tv_usec = 1000000;
+ timeout.tv_sec = 1;
+ timeout.tv_usec = 0;
n = select(sock + 1, &fds, NULL, NULL, &timeout);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|