From 2c39f76037328459c5cff14762e0839b1e77d570 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 1 Mar 2010 07:33:09 +0100 Subject: make $ActonFileDefaultTemplate available to ompipe This was not honored by the new ompipe module, because it is a local file directive (it was applied to pipes as a side-effect of using the same module for pipes and files...). I now made this a global, so that semantics are the same as previously. Not really nice, but probably the best thing to do in the current situation (everything else would involve much more overhead --- leave that for the new config system). --- runtime/srutils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/srutils.c') diff --git a/runtime/srutils.c b/runtime/srutils.c index c403b312..4bd552da 100644 --- a/runtime/srutils.c +++ b/runtime/srutils.c @@ -500,12 +500,14 @@ int decodeSyslogName(uchar *name, syslogName_t *codetab) for (p = buf; *p; p++) if (isupper((int) *p)) *p = tolower((int) *p); +dbgprintf("obtained syslogName '%s'\n", buf); for (c = codetab; c->c_name; c++) if (!strcmp((char*) buf, (char*) c->c_name)) { dbgprintf(" ==> %d\n", c->c_val); return (c->c_val); } +dbgprintf("syslogName '%s' NOT found!\n", buf); return (-1); } -- cgit v1.2.3