summaryrefslogtreecommitdiffstats
path: root/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-09 08:12:15 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-09 08:12:15 +0000
commit2d0175a1ec7e41cfb923ef175c6b48d094f532a7 (patch)
treeba4058c74f082c2bbf4ce4d5eb10d8e746e1e9da /omfile.c
parent4459faa3799e4804402327e8fc4ea92abc96a0e1 (diff)
downloadrsyslog-2d0175a1ec7e41cfb923ef175c6b48d094f532a7.tar.gz
rsyslog-2d0175a1ec7e41cfb923ef175c6b48d094f532a7.tar.xz
rsyslog-2d0175a1ec7e41cfb923ef175c6b48d094f532a7.zip
- fixed a bug in outchannel code that caused templates to be incorrectly
parsed - fixed a bug in ommysql that caused a wrong ";template" missing message in some cases
Diffstat (limited to 'omfile.c')
-rw-r--r--omfile.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/omfile.c b/omfile.c
index 6f30108b..af594024 100644
--- a/omfile.c
+++ b/omfile.c
@@ -237,14 +237,6 @@ static rsRetVal cflineParseOutchannel(instanceData *pData, uchar* p, omodStringR
*/
pData->f_sizeLimitCmd = pOch->cmdOnSizeLimit;
- /* back to the input string - now let's look for the template to use
- * Just as a general precaution, we skip whitespace.
- */
- while(*p && isspace((int) *p))
- ++p;
- if(*p == ';')
- ++p; /* eat it */
-
iRet = cflineParseTemplateName(&p, pOMSR, iEntry, iTplOpts, (uchar*) " TradFmt");
return(iRet);