diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-25 12:23:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-25 12:23:14 +0100 |
commit | e9555957fd913d928c6dc4b6ca8373f2c4691848 (patch) | |
tree | 40ed0ec2fd5f32492f1f09b167c6b0224a0e4e87 /contrib | |
parent | 24d852704f94f74caf96ddb512ae2fc7e6129c4b (diff) | |
download | rspamd-e9555957fd913d928c6dc4b6ca8373f2c4691848.tar.gz rspamd-e9555957fd913d928c6dc4b6ca8373f2c4691848.zip |
[Fix] Fix UCL parsing of the multiline strings
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libucl/ucl_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libucl/ucl_parser.c b/contrib/libucl/ucl_parser.c index 6a53fe805..7313b28a3 100644 --- a/contrib/libucl/ucl_parser.c +++ b/contrib/libucl/ucl_parser.c @@ -1810,8 +1810,8 @@ ucl_parse_value (struct ucl_parser *parser, struct ucl_chunk *chunk) } if (*p =='\n') { /* Set chunk positions and start multiline parsing */ + chunk->remain -= p - c + 1; c += 2; - chunk->remain -= p - c; chunk->pos = p + 1; chunk->column = 0; chunk->line ++; |