From: wessels <> Date: Mon, 19 Apr 1999 09:53:36 +0000 (+0000) Subject: show if cbdata valid in event queue for cachemgr X-Git-Tag: SQUID_3_0_PRE1~2266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39d5af299f23a55ffd24a3ad10edd49f04db2fce;p=thirdparty%2Fsquid.git show if cbdata valid in event queue for cachemgr --- 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; } }