aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-20 19:27:12 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-20 19:27:12 +0400
commit8bd40ccfcdccc717079d306e17d5d9d47ed85de6 (patch)
treeaf3b9942ec5bfb3797d7132efa5e77594355e536 /src
parent8321dee67dfcdc19bad7f740ada06f54b8b0b167 (diff)
downloadrspamd-8bd40ccfcdccc717079d306e17d5d9d47ed85de6.tar.gz
rspamd-8bd40ccfcdccc717079d306e17d5d9d47ed85de6.zip
* Stupid error in calculation compressed label length
Diffstat (limited to 'src')
-rw-r--r--src/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.c b/src/dns.c
index 3b97fca5f..50dc7dea0 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -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 {