From 1904ce3f5aa11f190c881ccda650c1f464fe9271 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 26 Jul 2007 10:50:06 +0000 Subject: - removed f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.c - removed f_type from syslogd.c/cflineParseFileName() - fixed bug in omfile.c which could lead to invalid addressing if "-" was given to not sync file - removed f_type from omfile.c --- omshell.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'omshell.c') diff --git a/omshell.c b/omshell.c index b6aed55b..b1a77aca 100644 --- a/omshell.c +++ b/omshell.c @@ -106,10 +106,7 @@ CODESTARTparseSelectorAct case '^': /* bkalkbrenner 2005-09-20: execute shell command */ dprintf("exec\n"); ++p; - if((iRet = cflineParseFileName(f, p, (uchar*) pData->progName)) == RS_RET_OK) - if (f->f_type == F_FILE) { - f->f_type = F_SHELL; - } + iRet = cflineParseFileName(f, p, (uchar*) pData->progName); break; default: iRet = RS_RET_CONFLINE_UNPROCESSED; -- cgit