summaryrefslogtreecommitdiffstats
path: root/parser
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2020-05-26 12:22:29 +0300
committerGitHub <noreply@github.com>2020-05-26 11:22:29 +0200
commitc9eca8631572c8c7807489d300ece15d94b27f89 (patch)
tree382f5298d84b7eeed6372bb0843971e538c6aeae /parser
parentcea8a3fcbb3b48fce545d19bce2b5cf920c6794d (diff)
Accept empty lines in parser (#9158)
Diffstat (limited to 'parser')
-rw-r--r--parser/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/parser.c b/parser/parser.c
index 43479fc05c..84f36a84ea 100644
--- a/parser/parser.c
+++ b/parser/parser.c
@@ -296,7 +296,7 @@ inline int parser_action(PARSER *parser, char *input)
input = parser->buffer;
if (unlikely(!find_keyword(input, command, PLUGINSD_LINE_MAX, pluginsd_space)))
- return 1;
+ return 0;
if ((parser->flags & PARSER_INPUT_ORIGINAL) == PARSER_INPUT_ORIGINAL)
pluginsd_split_words(input, words, PLUGINSD_MAX_WORDS, parser->recover_input, parser->recover_location, PARSER_MAX_RECOVER_KEYWORDS);