summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-09-30 16:09:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-09-30 16:09:34 +0100
commit1f9b24b312c6b7b6624c9efbdc59a282da82d24f (patch)
treed8b2477b9bb388fcca805cc81b51683e1e04b75b /src
parent4c7e732db79f7671b72f43fce9dd393360f6b565 (diff)
downloadrspamd-1f9b24b312c6b7b6624c9efbdc59a282da82d24f.tar.gz
rspamd-1f9b24b312c6b7b6624c9efbdc59a282da82d24f.zip
Fix state management for arrays.
Diffstat (limited to 'src')
-rw-r--r--src/rcl/rcl_parser.c2
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 ++;