mirror of https://github.com/getdnsapi/getdns.git
Merge branch 'develop' of github.com:verisign/getdns into develop
This commit is contained in:
commit
1caf653a01
|
@ -64,7 +64,7 @@ getdns_convert_dns_name_to_fqdn(const char *name_from_dns_response)
|
|||
char *str;
|
||||
ldns_rdf *rdf = ldns_rdf_new(LDNS_RDF_TYPE_DNAME,
|
||||
sizeof_dname((uint8_t *)name_from_dns_response),
|
||||
name_from_dns_response);
|
||||
(void *)name_from_dns_response); /* unconst is safe here */
|
||||
if (!rdf) return NULL;
|
||||
str = ldns_rdf2str(rdf);
|
||||
ldns_rdf_free(rdf);
|
||||
|
|
Loading…
Reference in New Issue