diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-05 17:35:13 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-05 17:35:13 +0100 |
commit | 7f7e0530304343e9ada79844892f57b0a0a7b422 (patch) | |
tree | e529a3a8656ae7162db3aa165c154af05278d452 /src/libserver/url.h | |
parent | 9d0a7d7b982e59b1845ae3e65bee22be0c9bb7d3 (diff) | |
download | rspamd-7f7e0530304343e9ada79844892f57b0a0a7b422.tar.gz rspamd-7f7e0530304343e9ada79844892f57b0a0a7b422.zip |
[Minor] Lua_util: Add normalize_utf8 utility
Issue: #4475
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r-- | src/libserver/url.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h index 6918d96ad..0b326869b 100644 --- a/src/libserver/url.h +++ b/src/libserver/url.h @@ -359,7 +359,7 @@ int rspamd_url_cmp_qsort(const void *u1, const void *u2); */ #define rspamd_url_normalise_propagate_flags(pool, input, len_out, url_flags_out) \ do { \ - enum rspamd_normalise_result norm_res; \ + enum rspamd_utf8_normalise_result norm_res; \ norm_res = rspamd_normalise_unicode_inplace((input), (len_out)); \ if (norm_res & RSPAMD_UNICODE_NORM_UNNORMAL) { \ url_flags_out |= RSPAMD_URL_FLAG_UNNORMALISED; \ |