summaryrefslogtreecommitdiffstats
path: root/runtime/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-10-21 14:05:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-10-21 14:05:59 +0200
commit10947b3f4a762ff6f1c2687bc1b4a2f33d7b6510 (patch)
tree9403751ce742d28dd6878abff4236d327bf546f9 /runtime/conf.c
parent5cf2c696680a90a23fabdd8761cdc7d0a3221e6a (diff)
downloadrsyslog-10947b3f4a762ff6f1c2687bc1b4a2f33d7b6510.tar.gz
rsyslog-10947b3f4a762ff6f1c2687bc1b4a2f33d7b6510.tar.xz
rsyslog-10947b3f4a762ff6f1c2687bc1b4a2f33d7b6510.zip
bugfix: missing whitespace after property-based filter was not detected
Diffstat (limited to 'runtime/conf.c')
-rw-r--r--runtime/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index 529142ed..8e885a1d 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -924,7 +924,7 @@ static rsRetVal cflineProcessPropFilter(uchar **pline, register rule_t *f)
}
/* skip to action part */
- if((iRet = parsSkipWhitespace(pPars)) != RS_RET_OK) {
+ if((iRet = parsSkipWhitespace(pPars, 1)) != RS_RET_OK) {
errmsg.LogError(0, iRet, "error %d skipping to action part - ignoring selector", iRet);
rsParsDestruct(pPars);
return(iRet);