From 39d5af299f23a55ffd24a3ad10edd49f04db2fce Mon Sep 17 00:00:00 2001 From: wessels <> Date: Mon, 19 Apr 1999 09:53:36 +0000 Subject: [PATCH] show if cbdata valid in event queue for cachemgr --- src/event.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/event.cc b/src/event.cc index 25724f1d8f..6ee4c0d3e3 100644 --- a/src/event.cc +++ b/src/event.cc @@ -1,6 +1,6 @@ /* - * $Id: event.cc,v 1.25 1999/04/19 03:37:29 wessels Exp $ + * $Id: event.cc,v 1.26 1999/04/19 03:53:36 wessels Exp $ * * DEBUG: section 41 Event Processing * AUTHOR: Henrik Nordstrom @@ -165,13 +165,15 @@ static void eventDump(StoreEntry * sentry) { struct ev_entry *e = tasks; - storeAppendPrintf(sentry, "%s\t%s\t%s\n", + storeAppendPrintf(sentry, "%s\t%s\t%s\t%s\n", "Operation", "Next Execution", - "Weight"); + "Weight", + "Callback Valid?"); while (e != NULL) { - storeAppendPrintf(sentry, "%s\t%f seconds\t%d\n", - e->name, e->when - current_dtime, e->weight); + storeAppendPrintf(sentry, "%s\t%f seconds\t%d\t%s\n", + e->name, e->when - current_dtime, e->weight, + e->arg ? cbdataValid(e->arg) ? "yes" : "no" : "N/A"); e = e->next; } } -- 2.47.2