Author: gd
Date: 2007-09-20 11:02:27 +0000 (Thu, 20 Sep 2007)
New Revision: 25257

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25257

Log:
When dumping eventlist, display full timestring.

Guenther

Modified:
   branches/SAMBA_3_2/source/lib/events.c
   branches/SAMBA_3_2_0/source/lib/events.c


Changeset:
Modified: branches/SAMBA_3_2/source/lib/events.c
===================================================================
--- branches/SAMBA_3_2/source/lib/events.c      2007-09-20 10:23:02 UTC (rev 
25256)
+++ branches/SAMBA_3_2/source/lib/events.c      2007-09-20 11:02:27 UTC (rev 
25257)
@@ -409,10 +409,11 @@
 
                evt = timeval_until(&now, &te->when);
 
-               DEBUGADD(10,("Timed Event \"%s\" %lx handled in %d seconds\n",
+               DEBUGADD(10,("Timed Event \"%s\" %lx handled in %d seconds (at 
%s)\n",
                           te->event_name,
                           (unsigned long)te,
-                          (int)evt.tv_sec));
+                          (int)evt.tv_sec,
+                          http_timestring(te->when.tv_sec)));
        }
 
        for (fe = event_ctx->fd_events; fe; fe = fe->next) {

Modified: branches/SAMBA_3_2_0/source/lib/events.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/events.c    2007-09-20 10:23:02 UTC (rev 
25256)
+++ branches/SAMBA_3_2_0/source/lib/events.c    2007-09-20 11:02:27 UTC (rev 
25257)
@@ -409,10 +409,11 @@
 
                evt = timeval_until(&now, &te->when);
 
-               DEBUGADD(10,("Timed Event \"%s\" %lx handled in %d seconds\n",
+               DEBUGADD(10,("Timed Event \"%s\" %lx handled in %d seconds (at 
%s)\n",
                           te->event_name,
                           (unsigned long)te,
-                          (int)evt.tv_sec));
+                          (int)evt.tv_sec,
+                          http_timestring(te->when.tv_sec)));
        }
 
        for (fe = event_ctx->fd_events; fe; fe = fe->next) {

Reply via email to