From 5bee185791b02b88cd458b3d55c260ab5d503b05 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 31 Oct 2013 11:19:23 +0100 Subject: omshell: make play well with v8 output module interface Note that this module is deprecated and only the bare necessary things are done. --- tools/omshell.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/omshell.c b/tools/omshell.c index 6680faab..a8ba1564 100644 --- a/tools/omshell.c +++ b/tools/omshell.c @@ -19,7 +19,7 @@ * of the "old" message code without any modifications. However, it * helps to have things at the right place one we go to the meat of it. * - * Copyright 2007-2012 Adiscon GmbH. + * Copyright 2007-2013 Adiscon GmbH. * * This file is part of rsyslog. * @@ -106,10 +106,7 @@ ENDtryResume BEGINdoAction CODESTARTdoAction - /* TODO: using pData->progName is not clean from the point of - * modularization. We'll change that as we go ahead with modularization. - * rgerhards, 2007-07-20 - */ + pData = pWrkrData->pData; dbgprintf("\n"); if(execProg((uchar*) pData->progName, 1, ppString[0]) == 0) errmsg.LogError(0, NO_ERRCODE, "Executing program '%s' failed", (char*)pData->progName); -- cgit v1.2.3