diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-14 18:37:23 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-05-14 18:37:23 +0200 |
commit | 8aea6a1d9d5a623018747844b65cf6c0dfd57192 (patch) | |
tree | a1196550d2797408527abe9de57cbc91ee64c41f /cfsysline.c | |
parent | aa983c583b694d878c034bee9d157333f8e2e883 (diff) | |
download | rsyslog-8aea6a1d9d5a623018747844b65cf6c0dfd57192.tar.gz rsyslog-8aea6a1d9d5a623018747844b65cf6c0dfd57192.tar.bz2 rsyslog-8aea6a1d9d5a623018747844b65cf6c0dfd57192.zip |
bugfix: some whitespaces where incorrectly not ignored
when parsing the config file. This is now corrected. Thanks
to Michael Biebl for pointing out the problem.
Diffstat (limited to 'cfsysline.c')
-rw-r--r-- | cfsysline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cfsysline.c b/cfsysline.c index 1aebc354..d3203ccc 100644 --- a/cfsysline.c +++ b/cfsysline.c @@ -462,6 +462,8 @@ getWord(uchar **pp, cstr_t **ppStrB) CHKiRet(rsCStrConstruct(ppStrB)); + skipWhiteSpace(pp); /* skip over any whitespace */ + /* parse out the word */ p = *pp; |