summaryrefslogtreecommitdiff
path: root/extlib
diff options
context:
space:
mode:
Diffstat (limited to 'extlib')
-rw-r--r--extlib/XMPPHP/XMLStream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/XMPPHP/XMLStream.php b/extlib/XMPPHP/XMLStream.php
index d23585c14..bf0eaa7cc 100644
--- a/extlib/XMPPHP/XMLStream.php
+++ b/extlib/XMPPHP/XMLStream.php
@@ -335,7 +335,7 @@ class XMPPHP_XMLStream {
$secs = 0;
$usecs = 0;
} else {
- $secs = $remaining / 1000000;
+ $secs = floor($remaining / 1000000);
$usecs = $remaining % 1000000;
}
$this->log->log("stream_select(read, write, except, $secs, $usecs)", XMPPHP_Log::LEVEL_VERBOSE);