summaryrefslogtreecommitdiffstats
path: root/omshell.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-24 07:35:13 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-24 07:35:13 +0000
commitcb2fc5f2d664ce48b9e3e8fd6c06e3aa3a9d9f66 (patch)
tree3b750bb2624ae9a90c96e2bc15d9a687df0764b3 /omshell.c
parentd9653ad08ffd2e8578aac00777cd610fce1f05c1 (diff)
downloadrsyslog-cb2fc5f2d664ce48b9e3e8fd6c06e3aa3a9d9f66.tar.gz
rsyslog-cb2fc5f2d664ce48b9e3e8fd6c06e3aa3a9d9f66.tar.xz
rsyslog-cb2fc5f2d664ce48b9e3e8fd6c06e3aa3a9d9f66.zip
fixed wrong credits - last patch was by mildew -- sorry for that ;)
Diffstat (limited to 'omshell.c')
-rw-r--r--omshell.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/omshell.c b/omshell.c
index 9ea80a0c..2056f521 100644
--- a/omshell.c
+++ b/omshell.c
@@ -66,7 +66,7 @@ int doActionShell(selector_t *f)
* applies to this module and, if so, processed it. If not, it
* is left untouched. The driver will then call another module
*/
-rsRetVal parseSelectorActShell(uchar **pp, selector_t *f)
+static rsRetVal parseSelectorAct(uchar **pp, selector_t *f)
{
uchar *p;
rsRetVal iRet = RS_RET_CONFLINE_PROCESSED;
@@ -106,9 +106,11 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)())
*pEtryPoint = NULL;
if(!strcmp((char*) name, "doAction")) {
*pEtryPoint = doActionShell;
+ } else if(!strcmp((char*) name, "parseSelectorAct")) {
+ *pEtryPoint = parseSelectorAct;
} /*else if(!strcmp((char*) name, "freeInstance")) {
- *pEtryPoint = freeInstanceFile;
- }*/
+ *pEtryPoint = freeInstanceFile;
+ } */
return(*pEtryPoint == NULL) ? RS_RET_NOT_FOUND : RS_RET_OK;
}