summaryrefslogtreecommitdiffstats
path: root/omshell.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-26 12:47:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-26 12:47:09 +0000
commit6e2c5057684a191c565220e6e41e561305b3a6ba (patch)
tree59ebc9ca6e9952db513c9f65bc39a2a4c5ff239e /omshell.c
parent54669873b0469aa69a4c9f88bcf88470218082f8 (diff)
downloadrsyslog-6e2c5057684a191c565220e6e41e561305b3a6ba.tar.gz
rsyslog-6e2c5057684a191c565220e6e41e561305b3a6ba.tar.xz
rsyslog-6e2c5057684a191c565220e6e41e561305b3a6ba.zip
- changed doAction() interface to contain the full message string
- f_iov and its handling has been removed
Diffstat (limited to 'omshell.c')
-rw-r--r--omshell.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/omshell.c b/omshell.c
index 62a83c8c..efeb7bf7 100644
--- a/omshell.c
+++ b/omshell.c
@@ -75,16 +75,13 @@ ENDdbgPrintInstInfo
BEGINdoAction
- uchar *psz;
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
*/
dprintf("\n");
- iovCreate(f);
- psz = (uchar*) iovAsString(f);
- if(execProg((uchar*) pData->progName, 1, (uchar*) psz) == 0)
+ if(execProg((uchar*) pData->progName, 1, pMsg) == 0)
logerrorSz("Executing program '%s' failed", (char*)pData->progName);
ENDdoAction