diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 16:25:35 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 16:25:35 +0000 |
commit | 187ab7e123c97b3091c78f6fb86412a3cec94569 (patch) | |
tree | f8485f080dfd9a67cc42869d20005d798f64518d /omfile.c | |
parent | cba4c88776a4d98d197c14ec9014f7abc973255e (diff) | |
download | rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.tar.gz rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.tar.xz rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.zip |
moved some references to module data from syslogd.c to modules
Diffstat (limited to 'omfile.c')
-rw-r--r-- | omfile.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -566,6 +566,8 @@ CODESTARTparseSelectorAct } else syncfile = 1; + f->f_un.f_file.f_sizeLimit = 0; /* default value, use outchannels to configure! */ + /* yes, the if below is redundant, but I need it now. Will go away as * the code further changes. -- rgerhards, 2007-07-25 */ @@ -597,7 +599,7 @@ CODESTARTparseSelectorAct * a template name. rgerhards, 2007-07-03 */ ++p; /* eat '?' */ - if((iRet = cflineParseFileName(f, p)) != RS_RET_OK) + if((iRet = cflineParseFileName(f, p, (uchar*) f->f_un.f_file.f_fname)) != RS_RET_OK) break; f->f_un.f_file.pTpl = tplFind((char*)f->f_un.f_file.f_fname, strlen((char*) f->f_un.f_file.f_fname)); @@ -637,7 +639,7 @@ CODESTARTparseSelectorAct * to use is specified. So we need to scan for the first coma first * and then look at the rest of the line. */ - if((iRet = cflineParseFileName(f, p)) != RS_RET_OK) + if((iRet = cflineParseFileName(f, p, (uchar*) f->f_un.f_file.f_fname)) != RS_RET_OK) break; if(syncfile) |