diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-17 13:24:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-17 13:24:20 +0000 |
commit | 8dc5237cface0da0d74621d8879faa1883f4be1b (patch) | |
tree | 7d9f2061631409ff31cb418f4385c3209c25d41d /src/lua/lua_xmlrpc.c | |
parent | 87cbd4c29d7d60848a4cb018c462817a0a654ec7 (diff) | |
download | rspamd-8dc5237cface0da0d74621d8879faa1883f4be1b.tar.gz rspamd-8dc5237cface0da0d74621d8879faa1883f4be1b.zip |
[Minor] Fix xmlrpc state machine
Diffstat (limited to 'src/lua/lua_xmlrpc.c')
-rw-r--r-- | src/lua/lua_xmlrpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_xmlrpc.c b/src/lua/lua_xmlrpc.c index 2f129f37d..9a99b1afc 100644 --- a/src/lua/lua_xmlrpc.c +++ b/src/lua/lua_xmlrpc.c @@ -472,11 +472,11 @@ xmlrpc_end_element (GMarkupParseContext *context, case read_array_value: /* Got tag data */ if (g_ascii_strcasecmp (name, "data") == 0) { - ud->parser_state = 14; + ud->parser_state = read_array; } else { /* Error state */ - ud->parser_state = 99; + ud->parser_state = error_state; } break; case read_array_element: |