diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-08-09 11:48:52 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-08-09 11:48:52 +0200 |
commit | d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3 (patch) | |
tree | d94418b20afbbd3bc7de4fee58e6dbb7f958ad5c /runtime/module-template.h | |
parent | f7ad5aeff03833879957ef00136610d1138a7212 (diff) | |
download | rsyslog-d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3.tar.gz rsyslog-d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3.tar.xz rsyslog-d6b6b30c189bf8ea78b59b8b4d3008d1f89ef1b3.zip |
added capability to emit config error location info for warnings
otherwise, omusrmsg's warning about new config format was not
accompanied by problem location.
Diffstat (limited to 'runtime/module-template.h')
-rw-r--r-- | runtime/module-template.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/module-template.h b/runtime/module-template.h index c2585e67..54c67135 100644 --- a/runtime/module-template.h +++ b/runtime/module-template.h @@ -275,7 +275,7 @@ static rsRetVal parseSelectorAct(uchar **pp, void **ppModData, omodStringRequest #define CODE_STD_FINALIZERparseSelectorAct \ finalize_it:\ - if(iRet == RS_RET_OK || iRet == RS_RET_SUSPENDED) {\ + if(iRet == RS_RET_OK || iRet == RS_RET_OK_WARN || iRet == RS_RET_SUSPENDED) {\ *ppModData = pData;\ *pp = p;\ } else {\ |