diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-01 14:17:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-01 14:17:25 +0100 |
commit | 541a05e49829089dfd90364abc7808b1bb0b659c (patch) | |
tree | 986bc0b95812c077d5c9f36d971031d8c1b4f4d4 /src | |
parent | eea3c13994e42549c8bc3e0c6f0da6599f39cc8b (diff) | |
download | rspamd-541a05e49829089dfd90364abc7808b1bb0b659c.tar.gz rspamd-541a05e49829089dfd90364abc7808b1bb0b659c.zip |
Fix output of symbols.
Diffstat (limited to 'src')
-rw-r--r-- | src/controller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller.c b/src/controller.c index 5794eca2f..8a821aa43 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1214,8 +1214,8 @@ rspamd_controller_handle_savesymbols ( obj = ucl_parser_get_object (parser); ucl_parser_free (parser); - if (obj->type != UCL_ARRAY || obj->len != 3) { - msg_err ("input is not an array of 3 elements"); + if (obj->type != UCL_ARRAY) { + msg_err ("input is not an array"); rspamd_controller_send_error (conn_ent, 400, "Cannot parse input"); ucl_object_unref (obj); return 0; |