From 1b1229cd1e76ee43b8fb75466dd80a2c72b54136 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 26 Jul 2007 09:31:50 +0000 Subject: - changed doAction() interface to include module data pointer - removed references to f_un from omusrmsg.c - changed module template for parseSelectorAct() [code reduction, consitency] --- omshell.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'omshell.c') diff --git a/omshell.c b/omshell.c index d341126c..a09a72bb 100644 --- a/omshell.c +++ b/omshell.c @@ -89,14 +89,13 @@ ENDdoAction BEGINparseSelectorAct - uchar *p; CODESTARTparseSelectorAct p = *pp; /* yes, the if below is redundant, but I need it now. Will go away as * the code further changes. -- rgerhards, 2007-07-25 */ if(*p == '^') { - if((iRet = createInstance(&pModData)) != RS_RET_OK) + if((iRet = createInstance(&pData)) != RS_RET_OK) return iRet; } @@ -116,10 +115,6 @@ CODESTARTparseSelectorAct break; } - if(iRet == RS_RET_OK) { - *ppModData = pModData; - *pp = p; - } ENDparseSelectorAct -- cgit