projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
67b1cad
)
applying patch from #3950 by jah
author
Christian Grothoff
<christian@grothoff.org>
Tue, 25 Aug 2015 15:05:54 +0000
(15:05 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 25 Aug 2015 15:05:54 +0000
(15:05 +0000)
src/dns/dnsparser.c
patch
|
blob
|
history
diff --git
a/src/dns/dnsparser.c
b/src/dns/dnsparser.c
index 7f1f684e7b3786108165ca22170f250b6ff0c564..0068cc60d2c1c4392a49f1a87ca3ae6d26b018d6 100644
(file)
--- 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));
return NULL;
}
memcpy (&dcert, &udp_payload[*off], sizeof (struct GNUNET_TUN_DnsCertRecord));
- (*off) += sizeof (s
izeof (struct GNUNET_TUN_DnsCertRecord)
);
+ (*off) += sizeof (s
truct GNUNET_TUN_DnsCertRecord
);
cert = GNUNET_new (struct GNUNET_DNSPARSER_CertRecord);
cert->cert_type = ntohs (dcert.cert_type);
cert->cert_tag = ntohs (dcert.cert_tag);
cert = GNUNET_new (struct GNUNET_DNSPARSER_CertRecord);
cert->cert_type = ntohs (dcert.cert_type);
cert->cert_tag = ntohs (dcert.cert_tag);