diff options
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.c')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 2dec9a2af..ce6428a44 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -1323,6 +1323,7 @@ handle_gns2dns_result (void *cls, | |||
1323 | /* expand authority chain */ | 1323 | /* expand authority chain */ |
1324 | ac = GNUNET_new (struct AuthorityChain); | 1324 | ac = GNUNET_new (struct AuthorityChain); |
1325 | ac->rh = rh; | 1325 | ac->rh = rh; |
1326 | GNUNET_assert (strlen (rh->g2dc->ns) <= GNUNET_DNSPARSER_MAX_NAME_LENGTH); | ||
1326 | strcpy (ac->authority_info.dns_authority.name, | 1327 | strcpy (ac->authority_info.dns_authority.name, |
1327 | rh->g2dc->ns); | 1328 | rh->g2dc->ns); |
1328 | memcpy (&ac->authority_info.dns_authority.dns_ip, | 1329 | memcpy (&ac->authority_info.dns_authority.dns_ip, |