From 39f1caa7b5e2cae20a618298ad5dfc9bfac83016 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 23 Aug 2020 12:37:05 +0100 Subject: [PATCH] [Minor] Fix copy&paste error --- src/fuzzy_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index f806cb87d4..28f07c9553 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -1334,7 +1334,7 @@ rspamd_fuzzy_extensions_from_wire (struct fuzzy_session *s, guchar *buf, gsize b ext->length = sizeof (struct in6_addr); ext->payload = dest; memcpy (dest, p, sizeof (struct in6_addr)); - p += sizeof (in_addr_t); + p += sizeof (struct in6_addr); data_buf += sizeof (struct in6_addr); ext = ext->next; } -- 2.47.3