summaryrefslogtreecommitdiff
path: root/extlib/XMPPHP/XMLStream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-30 21:31:32 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-30 21:31:32 -0400
commit4fccba70f1cede48814548315742577160fc30ed (patch)
tree3df3b215a51b31d03e3f93f440c3c856aabd4489 /extlib/XMPPHP/XMLStream.php
parentf7865b1d410e303bb5dc2549d12823f37149b8e5 (diff)
floor
darcs-hash:20080831013132-84dde-dc51363f8f6c6a0fece8b4acf7088b64acedc5f9.gz
Diffstat (limited to 'extlib/XMPPHP/XMLStream.php')
-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);