diff options
Diffstat (limited to 'extlib')
-rw-r--r-- | extlib/XMPPHP/XMLStream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php index 91d81df67..5e1d34235 100644 --- a/extlib/XMPPHP/XMLStream.php +++ b/extlib/XMPPHP/XMLStream.php @@ -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); |