aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index 72fce5f9e..4ace18f1a 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -6,6 +6,7 @@
#include "mem_pool.h"
#include "khash.h"
#include "fstring.h"
+#include "libutil/cxx/utf8_util.h"
#ifdef __cplusplus
extern "C" {
@@ -356,7 +357,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; \
- norm_res = rspamd_normalise_unicode_inplace((pool), (input), (len_out)); \
+ norm_res = rspamd_normalise_unicode_inplace((input), (len_out)); \
if (norm_res & RSPAMD_UNICODE_NORM_UNNORMAL) { \
url_flags_out |= RSPAMD_URL_FLAG_UNNORMALISED; \
} \