diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-11-01 19:55:26 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-11-01 19:55:26 +0300 |
commit | 1ce9ce321a4d4076504adfbf2503364768d5124f (patch) | |
tree | eb06bd9b56bbdadaf4304234680e7c6c1f92bd18 /src/dns.c | |
parent | eac815c8914e12640430caf6e6b1b495c24404ad (diff) | |
download | rspamd-1ce9ce321a4d4076504adfbf2503364768d5124f.tar.gz rspamd-1ce9ce321a4d4076504adfbf2503364768d5124f.zip |
When parsing RRs 'eat' last '.' symbol
Diffstat (limited to 'src/dns.c')
-rw-r--r-- | src/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -744,7 +744,7 @@ dns_parse_labels (guint8 *in, gchar **target, guint8 **pos, struct rspamd_dns_re p += *p + 1; } } - *t = '\0'; + *(t - 1) = '\0'; end: if (offset < 0) { offset = p - begin; |