diff options
author | Nathan Straz <nstraz@redhat.com> | 2009-03-27 11:02:25 -0400 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2009-03-27 11:02:25 -0400 |
commit | 84c28731c129daedc11bb55e287e23c06ef3f59a (patch) | |
tree | a3e3720caf3d2ffe5da0dcff9aeaabe8b719370f | |
parent | 1d77e4339f830da64bfcb801667f721d55f30096 (diff) | |
download | qarsh-84c28731c129daedc11bb55e287e23c06ef3f59a.tar.gz qarsh-84c28731c129daedc11bb55e287e23c06ef3f59a.tar.xz qarsh-84c28731c129daedc11bb55e287e23c06ef3f59a.zip |
[btime] Increase time to wait for response
A quarter of a second may be too short for some connections.
Increasing it to half a second should make it more reliable.
-rw-r--r-- | btime.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ btime(const char *host) retry = 0; timeout.tv_sec = 0; - timeout.tv_usec = 250000; + timeout.tv_usec = 500000; if (select(sd + 1, &sdset, NULL, NULL, &timeout) != 1) { /* Either an error or a timeout, we don't need to retry */ |