From 1f9b24b312c6b7b6624c9efbdc59a282da82d24f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 30 Sep 2013 16:09:34 +0100 Subject: [PATCH] Fix state management for arrays. --- src/rcl/rcl_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ++; -- 2.39.5