]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix breaking ref
authortcarpay <8014108+TCY16@users.noreply.github.com>
Thu, 10 Nov 2022 15:21:13 +0000 (16:21 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Nov 2022 15:21:13 +0000 (16:21 +0100)
host2str.c

index 7282db9ee2efed6ba40477e8c7566e766237cf67..fe33612816a9ea6a6acb1d80cad5a9c67f82109b 100644 (file)
@@ -2402,11 +2402,11 @@ ldns_edns_padding2buffer_str(ldns_buffer* output, uint8_t* data, size_t len)
 static ldns_status
 ldns_edns_chain2buffer_str(ldns_buffer* output, uint8_t* data, size_t len)
 {
-       ldns_rdf** temp = NULL;
+       ldns_rdf* temp = NULL;
 
        ldns_buffer_printf(output, "; CHAIN: ");
 
-       if (ldns_str2rdf_dname(temp, (char*) data) != LDNS_STATUS_OK) {
+       if (ldns_str2rdf_dname(&temp, (char*) data) != LDNS_STATUS_OK) {
                ldns_buffer_printf(output, "malformed chain ");
                ldns_edns_hex_data2buffer_str(output, data, len);