diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-13 09:46:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-13 09:46:18 +0100 |
commit | f1e9625920e4e9add168e30c0441a4312b23c890 (patch) | |
tree | b272a83d3f8c6af8fec2eb139d415d1b8d672b1f /src/libutil/str_util.h | |
parent | e900e3fce155c8ad08c69b3be0668e25262b15d1 (diff) | |
download | rspamd-f1e9625920e4e9add168e30c0441a4312b23c890.tar.gz rspamd-f1e9625920e4e9add168e30c0441a4312b23c890.zip |
[Minor] Rework utf8 lowercasing
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r-- | src/libutil/str_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |