diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-17 18:37:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-17 18:37:26 +0000 |
commit | 0b2a4a74370b4c0596306fc001fcb43235f123b8 (patch) | |
tree | f57e4f3c7b11105b55bc8b4eb22ca6011d7630d1 | |
parent | 62982c2012baa1f1afb562b64f5cb2c20ccf767c (diff) | |
download | rspamd-0b2a4a74370b4c0596306fc001fcb43235f123b8.tar.gz rspamd-0b2a4a74370b4c0596306fc001fcb43235f123b8.zip |
Use base32 for keys instead of hex
-rw-r--r-- | src/fuzzy_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 70cb717a9..cd80b8cc6 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -845,7 +845,7 @@ rspamd_fuzzy_stat_to_ucl (struct rspamd_fuzzy_storage_ctx *ctx, gboolean ip_stat key_stat = key->stat; if (key_stat) { - rspamd_snprintf (keyname, sizeof (keyname), "%8xs", k); + rspamd_snprintf (keyname, sizeof (keyname), "%8bs", k); elt = rspamd_fuzzy_storage_stat_key (key_stat); |