diff options
Diffstat (limited to 'src/controller.c')
-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; |