int div games

darcs-hash:20080831013603-84dde-e4e04c8bbb97cf9ed300a9c07dc4e33f8a5edd05.gz
This commit is contained in:
Evan Prodromou 2008-08-30 21:36:03 -04:00
parent 4fccba70f1
commit 53854b7cb1

View File

@ -335,8 +335,8 @@ class XMPPHP_XMLStream {
$secs = 0; $secs = 0;
$usecs = 0; $usecs = 0;
} else { } else {
$secs = floor($remaining / 1000000);
$usecs = $remaining % 1000000; $usecs = $remaining % 1000000;
$secs = ($remaining - $usecs) / 1000000;
} }
$this->log->log("stream_select(read, write, except, $secs, $usecs)", XMPPHP_Log::LEVEL_VERBOSE); $this->log->log("stream_select(read, write, except, $secs, $usecs)", XMPPHP_Log::LEVEL_VERBOSE);
$updated = @stream_select($read, $write, $except, $secs, $usecs); $updated = @stream_select($read, $write, $except, $secs, $usecs);