summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-09-20 11:02:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:55 -0500
commitc6fab069024dee15502a2b527c45a10a689eaedf (patch)
tree5a5258c01a2d6550336d7a4f785a15b0fe065501 /source3/lib
parent88eda8245dbda4cae091483dd05ccb1ae2f05d46 (diff)
downloadsamba-c6fab069024dee15502a2b527c45a10a689eaedf.tar.gz
samba-c6fab069024dee15502a2b527c45a10a689eaedf.tar.bz2
samba-c6fab069024dee15502a2b527c45a10a689eaedf.zip
r25257: When dumping eventlist, display full timestring.
Guenther (This used to be commit 38eca60913f513accb24b31dcb6d1d7e92b0ba66)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/events.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index e915777217..befab3f5c0 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -409,10 +409,11 @@ void dump_event_list(struct event_context *event_ctx)
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) {