diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-23 16:56:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-23 16:56:18 +0000 |
commit | 6b6ab33419d22d07230a2cd3b8b9d911e1df1470 (patch) | |
tree | aedc3872bfd72a09c0eca1088d5ef0b9743826d3 /src/libmime | |
parent | 4b4740cf8a616b35d0d1ac4a5c6f19bc7b52dd6b (diff) | |
download | rspamd-6b6ab33419d22d07230a2cd3b8b9d911e1df1470.tar.gz rspamd-6b6ab33419d22d07230a2cd3b8b9d911e1df1470.zip |
[Project] Lua_task: Add modify_header method
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/mime_headers.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index dbedff9e4..1677bb349 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -1940,9 +1940,15 @@ rspamd_message_set_modified_header (struct rspamd_task *task, DL_APPEND (*pos, nhdr); } } + else { + /* NYI: negative order is not defined */ + msg_err_task ("internal error: calling for set_modified_header " + "with negative add order header"); + } } else { - msg_err_task ("internal error: calling for set_modified_header with invalid header"); + msg_err_task ("internal error: calling for set_modified_header " + "with invalid header"); } } } |