diff options
Diffstat (limited to 'src/dns/dnsparser.c')
-rw-r--r-- | src/dns/dnsparser.c | 2 |
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); |