diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-09-30 16:09:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-09-30 16:09:34 +0100 |
commit | 1f9b24b312c6b7b6624c9efbdc59a282da82d24f (patch) | |
tree | d8b2477b9bb388fcca805cc81b51683e1e04b75b /src | |
parent | 4c7e732db79f7671b72f43fce9dd393360f6b565 (diff) | |
download | rspamd-1f9b24b312c6b7b6624c9efbdc59a282da82d24f.tar.gz rspamd-1f9b24b312c6b7b6624c9efbdc59a282da82d24f.zip |
Fix state management for arrays.
Diffstat (limited to 'src')
-rw-r--r-- | src/rcl/rcl_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcl/rcl_parser.c b/src/rcl/rcl_parser.c index 80061f03f..713330ca8 100644 --- a/src/rcl/rcl_parser.c +++ b/src/rcl/rcl_parser.c @@ -1124,7 +1124,7 @@ rspamd_cl_state_machine (struct rspamd_cl_parser *parser, GError **err) p = chunk->pos; obj = rspamd_cl_object_new (); if (*p == '[') { - parser->state = RSPAMD_RCL_STATE_ARRAY; + parser->state = RSPAMD_RCL_STATE_VALUE; obj->type = RSPAMD_CL_ARRAY; rspamd_cl_chunk_skipc (chunk, *p); p ++; |