Hi Stipe,list,

here is a "patch" that fix the same date calc. bug ...

-- 
Best Regards / Mit besten Gr��en aus K�ln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 K�ln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [EMAIL PROTECTED]
web: http://www.centrium.de
msn: [EMAIL PROTECTED]
Index: contrib/kannel-monitor/index.php
===================================================================
RCS file: /home/cvs/gateway/contrib/kannel-monitor/index.php,v
retrieving revision 1.2
diff -a -u -r1.2 index.php
--- contrib/kannel-monitor/index.php	7 Mar 2003 08:36:24 -0000	1.2
+++ contrib/kannel-monitor/index.php	8 Mar 2003 16:16:24 -0000
@@ -109,7 +109,7 @@
         /* get the status of this bearerbox */
         $s = XPathValue("gateway/status", $status[$inst]);
         if (ereg("(.*), uptime (.*)d (.*)h (.*)m (.*)s", $s, $regs)) {
-            $ts = ($regs[2]*24*60*60*60) + ($regs[3]*60*60) 
+            $ts = ($regs[2]*24*60*60) + ($regs[3]*60*60) 
                   + ($regs[4]*60) + $regs[5];
 
             echo "      ";

Attachment: smime.p7s
Description: signature

Reply via email to