From: hickert Date: Wed, 23 Jan 2008 08:52:28 +0000 (+0000) Subject: Additional update for socket client X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d13327a1d4a07cb86337bc1182bc019f1cbc2058;p=gosa.git Additional update for socket client git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8548 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_socketClient.inc b/gosa-core/include/class_socketClient.inc index 9fca69096..dee887e3a 100644 --- a/gosa-core/include/class_socketClient.inc +++ b/gosa-core/include/class_socketClient.inc @@ -108,8 +108,11 @@ class Socket_Client } - private function _is_timeout($start,$stop = microtime()) + private function _is_timeout($start,$stop = 0) { + if($stop == 0){ + $stop = microtime(); + } $a = split("\ ",$start); $b = split("\ ",$stop); $secs = $b[1] - $a[1];