commit 39f1caa: [Minor] Fix copy&paste error

Vsevolod Stakhov vsevolod at highsecure.ru
Sun Aug 23 11:42:12 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-08-23 12:37:05 +0100
URL: https://github.com/rspamd/rspamd/commit/39f1caa7b5e2cae20a618298ad5dfc9bfac83016

[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 f806cb87d..28f07c955 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;
 			}


More information about the Commits mailing list