From d13327a1d4a07cb86337bc1182bc019f1cbc2058 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 23 Jan 2008 08:52:28 +0000 Subject: [PATCH] Additional update for socket client git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8548 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_socketClient.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]; -- 2.30.2