From aa435eeb5437249d349753f4c55daab297126de6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 25 Aug 2015 15:05:54 +0000 Subject: applying patch from #3950 by jah --- src/dns/dnsparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dns') diff --git a/src/dns/dnsparser.c b/src/dns/dnsparser.c index 7f1f684e7..0068cc60d 100644 --- a/src/dns/dnsparser.c +++ b/src/dns/dnsparser.c @@ -548,7 +548,7 @@ GNUNET_DNSPARSER_parse_cert (const char *udp_payload, return NULL; } memcpy (&dcert, &udp_payload[*off], sizeof (struct GNUNET_TUN_DnsCertRecord)); - (*off) += sizeof (sizeof (struct GNUNET_TUN_DnsCertRecord)); + (*off) += sizeof (struct GNUNET_TUN_DnsCertRecord); cert = GNUNET_new (struct GNUNET_DNSPARSER_CertRecord); cert->cert_type = ntohs (dcert.cert_type); cert->cert_tag = ntohs (dcert.cert_tag); -- cgit v1.2.3