summaryrefslogtreecommitdiffstats
path: root/src/libserver/events.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-26 12:28:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-26 12:28:56 +0100
commitc6a1f66862d2f1f5db5fd89c9395c3363df34909 (patch)
treea8c8757f94545d235917d28f82c6eb4621f4dd43 /src/libserver/events.c
parent7c24683890f578b68f6b605f9bfba4854b22e056 (diff)
downloadrspamd-c6a1f66862d2f1f5db5fd89c9395c3363df34909.tar.gz
rspamd-c6a1f66862d2f1f5db5fd89c9395c3363df34909.zip
Fix hashing.
Diffstat (limited to 'src/libserver/events.c')
-rw-r--r--src/libserver/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/events.c b/src/libserver/events.c
index a83587257..73ebef6a7 100644
--- a/src/libserver/events.c
+++ b/src/libserver/events.c
@@ -82,7 +82,7 @@ rspamd_event_hash (gconstpointer a)
u.f = ev->fin;
XXH64_reset (&st, rspamd_hash_seed ());
- XXH64_update (&st, ev->user_data, sizeof (gpointer));
+ XXH64_update (&st, &ev->user_data, sizeof (gpointer));
XXH64_update (&st, &u, sizeof (u));
return XXH64_digest (&st);