Author: adrian.chadd
Date: Sun Feb 1 15:02:44 2009
New Revision: 13767
Modified:
branches/LUSCA_HEAD/src/event.c
Log:
Remove the eventTrigger() stuff.
Modified: branches/LUSCA_HEAD/src/event.c
==============================================================================
--- branches/LUSCA_HEAD/src/event.c (original)
+++ branches/LUSCA_HEAD/src/event.c Sun Feb 1 15:02:44 2009
@@ -66,32 +66,7 @@
}
static void
-eventMgrTrigger(StoreEntry * sentry, const char *name)
-{
-#if DEBUG_MEMPOOL /* XXX: this abuses the existing mempool debug
configure option.. too lazy to create a new one for this */
- struct ev_entry **E, *e;
- for (E = &tasks; (e = *E) != NULL; E = *E ? &(*E)->next : NULL) {
- if (strcmp(e->name, name) == 0) {
- debug(50, 1) ("eventMgrTrigger: Scheduling '%s' to be run NOW\n",
e->name);
- e->when = 0;
- *E = e->next;
- e->next = tasks;
- tasks = e;
- }
- }
-#endif
-}
-
-static void
eventMgr(StoreEntry * e)
{
- char *arg = strchr(strBuf(e->mem_obj->request->urlpath) + 1, '/');
- if (arg) {
- char *name = xstrdup(arg + 1);
- rfc1738_unescape(name);
- eventMgrTrigger(e, name);
- safe_free(name);
- } else {
- eventDump(e);
- }
+ eventDump(e);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---