From: Josh Soref Date: Sun, 13 Jun 2021 21:32:46 +0000 (-0400) Subject: spelling: discard X-Git-Tag: 1.8.0-rc.1~25^2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed603091ff59d9ee0cc91ba52af5b3549748c47;p=thirdparty%2Fldns.git spelling: discard Signed-off-by: Josh Soref --- diff --git a/rr.c b/rr.c index ee9612c9..2faf395d 100644 --- a/rr.c +++ b/rr.c @@ -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;