diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-09 00:47:30 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-05-09 00:47:30 +0100 |
commit | 260123716172d33f44bdc0e4e5422554d139215c (patch) | |
tree | 840e8e6387b96bd6f9afe3ffebc19c781a112f1b /csocketopen.c | |
parent | 0b624384cd52be20e61284551d832b499d7b7707 (diff) | |
download | libphidget21-260123716172d33f44bdc0e4e5422554d139215c.tar.gz |
Imported Upstream version 2.1.8.20120507upstream/2.1.8.20120507
Diffstat (limited to '')
-rw-r--r-- | csocketopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csocketopen.c b/csocketopen.c index caaecfc..4c12f5d 100644 --- a/csocketopen.c +++ b/csocketopen.c @@ -1269,7 +1269,7 @@ start: { //if we've been waiting too long, then signal disconnect double waitTime = timeSince(&server->lastHeartbeatTime); - //if we haven't recieved any heartbeats, set the timeout high (4*4 = 16 seconds) + //if we haven't received any heartbeats, set the timeout high (4*4 = 16 seconds) //This is so that really slow connections will get through the auth stage double avgPingTime = ((server->avgHeartbeatTimeCount > 0) ? (server->avgHeartbeatTime / server->avgHeartbeatTimeCount) : 4.0); |