diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:47:09 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:47:09 +0000 |
commit | 6e2c5057684a191c565220e6e41e561305b3a6ba (patch) | |
tree | 59ebc9ca6e9952db513c9f65bc39a2a4c5ff239e /omshell.c | |
parent | 54669873b0469aa69a4c9f88bcf88470218082f8 (diff) | |
download | rsyslog-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.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |