Skip to content

Commit

Permalink
Fix bug that came along Ray's const goodness
Browse files Browse the repository at this point in the history
  • Loading branch information
wtoorop committed May 12, 2016
1 parent af380d7 commit 61cc209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ ldns_pkt_query_new_internal(const ldns_rdf *rr_name, ldns_rr_type rr_type,
rr_class = LDNS_RR_CLASS_IN;
}

ldns_rr_set_owner(question_rr, ldns_rdf_clone(rr_name));
ldns_rr_set_owner(question_rr, rr_name);
ldns_rr_set_type(question_rr, rr_type);
ldns_rr_set_class(question_rr, rr_class);
ldns_rr_set_question(question_rr, true);
Expand Down

0 comments on commit 61cc209

Please sign in to comment.