]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
spelling: discard
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 13 Jun 2021 21:32:46 +0000 (17:32 -0400)
committerWillem Toorop <willem@nlnetlabs.nl>
Mon, 14 Jun 2021 09:29:17 +0000 (11:29 +0200)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
rr.c

diff --git a/rr.c b/rr.c
index ee9612c942eecca7f695831643e8752f5a267e13..2faf395dbe9c48e509b24b09926a1641ad39ccca 100644 (file)
--- 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;