From f1e9625920e4e9add168e30c0441a4312b23c890 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 13 Aug 2019 09:46:18 +0100 Subject: [Minor] Rework utf8 lowercasing --- src/libutil/str_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libutil/str_util.h') diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index a1f980526..b255c125b 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -41,12 +41,12 @@ gint rspamd_lc_cmp (const gchar *s, const gchar *d, gsize l); /** * Convert string to lowercase in-place using ASCII conversion */ -void rspamd_str_lc (gchar *str, guint size); +guint rspamd_str_lc (gchar *str, guint size); /** * Convert string to lowercase in-place using utf (limited) conversion */ -void rspamd_str_lc_utf8 (gchar *str, guint size); +guint rspamd_str_lc_utf8 (gchar *str, guint size); /* * Hash table utility functions for case insensitive hashing -- cgit v1.2.3