diff options
-rw-r--r-- | src/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -703,7 +703,7 @@ dns_parse_labels (guint8 *in, char **target, guint8 **pos, struct rspamd_dns_rep } begin = l; p = l + *l + 1; - namelen += *p; + namelen += *l; labels ++; } else { |