Browse Source

Merge commit 'd122a78' into stratum

Luke Dashjr 13 years ago
parent
commit
45ce7d49ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util.c

+ 1 - 1
util.c

@@ -884,7 +884,7 @@ static bool sock_full(SOCKETTYPE sock, bool wait)
 	FD_SET(sock, &rd);
 	FD_SET(sock, &rd);
 	timeout.tv_usec = 0;
 	timeout.tv_usec = 0;
 	if (wait)
 	if (wait)
-		timeout.tv_sec = 60;
+		timeout.tv_sec = 5;
 	else
 	else
 		timeout.tv_sec = 0;
 		timeout.tv_sec = 0;
 	if (select(sock + 1, &rd, NULL, NULL, &timeout) > 0)
 	if (select(sock + 1, &rd, NULL, NULL, &timeout) > 0)