slightly better int math
darcs-hash:20080831014404-84dde-ef3f9aa997b6d0727958f56d68c9b6738e20225e.gz
This commit is contained in:
parent
53854b7cb1
commit
7ba8bce1d3
@ -336,7 +336,7 @@ class XMPPHP_XMLStream {
|
||||
$usecs = 0;
|
||||
} else {
|
||||
$usecs = $remaining % 1000000;
|
||||
$secs = ($remaining - $usecs) / 1000000;
|
||||
$secs = floor(($remaining - $usecs) / 1000000);
|
||||
}
|
||||
$this->log->log("stream_select(read, write, except, $secs, $usecs)", XMPPHP_Log::LEVEL_VERBOSE);
|
||||
$updated = @stream_select($read, $write, $except, $secs, $usecs);
|
||||
|
Loading…
Reference in New Issue
Block a user