aboutsummaryrefslogtreecommitdiff
path: root/src/dns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-25 15:05:54 +0000
committerChristian Grothoff <christian@grothoff.org>2015-08-25 15:05:54 +0000
commitaa435eeb5437249d349753f4c55daab297126de6 (patch)
tree8d8bc6554d6b1cb166a7a6a71e7d3638a1bcffe1 /src/dns
parent67b1cada40ecf3f63524a232be5fc11e0a53acd1 (diff)
downloadgnunet-aa435eeb5437249d349753f4c55daab297126de6.tar.gz
gnunet-aa435eeb5437249d349753f4c55daab297126de6.zip
applying patch from #3950 by jah
Diffstat (limited to 'src/dns')
-rw-r--r--src/dns/dnsparser.c2
1 files changed, 1 insertions, 1 deletions
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,
548 return NULL; 548 return NULL;
549 } 549 }
550 memcpy (&dcert, &udp_payload[*off], sizeof (struct GNUNET_TUN_DnsCertRecord)); 550 memcpy (&dcert, &udp_payload[*off], sizeof (struct GNUNET_TUN_DnsCertRecord));
551 (*off) += sizeof (sizeof (struct GNUNET_TUN_DnsCertRecord)); 551 (*off) += sizeof (struct GNUNET_TUN_DnsCertRecord);
552 cert = GNUNET_new (struct GNUNET_DNSPARSER_CertRecord); 552 cert = GNUNET_new (struct GNUNET_DNSPARSER_CertRecord);
553 cert->cert_type = ntohs (dcert.cert_type); 553 cert->cert_type = ntohs (dcert.cert_type);
554 cert->cert_tag = ntohs (dcert.cert_tag); 554 cert->cert_tag = ntohs (dcert.cert_tag);