Skip to content

Commit

Permalink
spelling: discard
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref authored and wtoorop committed Jun 14, 2021
1 parent f26ea94 commit 0ed6030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position)

rd_count = ldns_rr_rd_count(rr);
if (position < rd_count) {
/* dicard the old one */
/* discard the old one */
pop = rr->_rdata_fields[position];
rr->_rdata_fields[position] = (ldns_rdf*)f;
return pop;
Expand Down

0 comments on commit 0ed6030

Please sign in to comment.