Skip to content

Commit

Permalink
Fix breaking ref
Browse files Browse the repository at this point in the history
  • Loading branch information
TCY16 authored Nov 10, 2022
1 parent b4a02f1 commit e400fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host2str.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e400fa9

Please sign in to comment.