]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix copy&paste error
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 23 Aug 2020 11:37:05 +0000 (12:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 23 Aug 2020 11:37:05 +0000 (12:37 +0100)
src/fuzzy_storage.c

index f806cb87d42fea670838db403258ae3f5796b251..28f07c9553500c389225ae7c3ce0551d1a5c8b62 100644 (file)
@@ -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;
                        }