diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-26 17:07:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-26 17:07:30 +0000 |
commit | 486e16b751dc44ad62a25e1915431a72a87b1f43 (patch) | |
tree | fbe5347577e4b3ac539cb1433a0175d9169f6a75 /src/libutil/util.c | |
parent | 22259fdbd6e2a0a99b6c29df2dd4f1e2eedfe66f (diff) | |
download | rspamd-486e16b751dc44ad62a25e1915431a72a87b1f43.tar.gz rspamd-486e16b751dc44ad62a25e1915431a72a87b1f43.zip |
Use the same hash seed for urls as we need some static order
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r-- | src/libutil/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c index 3b95a1190..fee039c85 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -1375,7 +1375,7 @@ rspamd_url_hash (gconstpointer u) const struct rspamd_url *url = u; XXH64_state_t st; - XXH64_reset (&st, rspamd_hash_seed ()); + XXH64_reset (&st, 0xdeadbabe); if (url->hostlen > 0) { XXH64_update (&st, url->host, url->hostlen); |