summaryrefslogtreecommitdiffstats
path: root/tools/omshell.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-10-31 18:15:33 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-10-31 18:15:33 +0100
commitb44dcabe90de000cb98c02f74ce44929aa11a818 (patch)
tree6d4e7e27f47a2752a6de111a7ccd8953f5224e54 /tools/omshell.c
parentd171629863e8a5842dda9fe6272f9053883a8960 (diff)
downloadrsyslog-b44dcabe90de000cb98c02f74ce44929aa11a818.tar.gz
rsyslog-b44dcabe90de000cb98c02f74ce44929aa11a818.tar.bz2
rsyslog-b44dcabe90de000cb98c02f74ce44929aa11a818.zip
remove pData emulation from v8 omod interface
breaks compilation of not converted modules - but these won't work anyways. So better change this now.
Diffstat (limited to 'tools/omshell.c')
-rw-r--r--tools/omshell.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/omshell.c b/tools/omshell.c
index a8ba1564..ad6e979f 100644
--- a/tools/omshell.c
+++ b/tools/omshell.c
@@ -106,10 +106,9 @@ ENDtryResume
BEGINdoAction
CODESTARTdoAction
- 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);
+ if(execProg((uchar*) pWrkrData->pData->progName, 1, ppString[0]) == 0)
+ errmsg.LogError(0, NO_ERRCODE, "Executing program '%s' failed", (char*)pWrkrData->pData->progName);
ENDdoAction