diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-14 16:16:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-14 16:16:52 +0100 |
commit | ea53cb781388f3d07ac29170267678003633a17b (patch) | |
tree | 02870498d6cc403fa2d98320268976fa80856b82 /src/plugins | |
parent | e3771cc9752fb1f20bd389984d868e7af1208ce4 (diff) | |
download | rspamd-ea53cb781388f3d07ac29170267678003633a17b.tar.gz rspamd-ea53cb781388f3d07ac29170267678003633a17b.zip |
Improve rspamd internal hash functions.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/surbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 30abf950f..ceb70f4d2 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -110,8 +110,8 @@ exception_insert (gpointer st, gconstpointer key, gpointer value) val->begin = (gchar *)key; val->len = strlen (key); if (t[level] == NULL) { - t[level] = g_hash_table_new_full (rspamd_fstring_hash, - rspamd_fstring_equal, + t[level] = g_hash_table_new_full (rspamd_fstring_icase_hash, + rspamd_fstring_icase_equal, g_free, NULL); } |