From c7be51a11b1148335a1d659b84e0725b0e7e328f Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Wed, 9 Feb 2022 10:41:50 +0200 Subject: [PATCH] Fix typos --- iterator/iter_delegpt.h | 2 +- services/rpz.c | 4 ++-- sldns/str2wire.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/iterator/iter_delegpt.h b/iterator/iter_delegpt.h index 17db15a23..998b98cd8 100644 --- a/iterator/iter_delegpt.h +++ b/iterator/iter_delegpt.h @@ -128,7 +128,7 @@ struct delegpt_ns { uint8_t done_pside6; /** the TLS authentication name, (if not NULL) to use. */ char* tls_auth_name; - /** the port to use; it should mosty be the default 53 but configured + /** the port to use; it should mostly be the default 53 but configured * upstreams can provide nondefault ports. */ int port; }; diff --git a/services/rpz.c b/services/rpz.c index 309fda22f..241540e02 100644 --- a/services/rpz.c +++ b/services/rpz.c @@ -2117,7 +2117,7 @@ rpz_callback_from_iterator_module(struct module_qstate* ms, struct iter_qstate* struct matched_delegation_point match = {0}; if(ms->rpz_passthru) { - verbose(VERB_ALGO, "query is rpz_passthru, no futher processing"); + verbose(VERB_ALGO, "query is rpz_passthru, no further processing"); return NULL; } @@ -2187,7 +2187,7 @@ struct dns_msg* rpz_callback_from_iterator_cname(struct module_qstate* ms, struct dns_msg* ret = NULL; if(ms->rpz_passthru) { - verbose(VERB_ALGO, "query is rpz_passthru, no futher processing"); + verbose(VERB_ALGO, "query is rpz_passthru, no further processing"); return NULL; } diff --git a/sldns/str2wire.c b/sldns/str2wire.c index d2cefae1c..4e9da2b10 100644 --- a/sldns/str2wire.c +++ b/sldns/str2wire.c @@ -606,7 +606,7 @@ sldns_affix_token(sldns_buffer* strbuf, char* token, size_t* token_len, /* add space */ /* when addlen < 2, the token buffer is full considering the NULL byte * from strlen and will lead to buffer overflow with the second - * assignement below. */ + * assignment below. */ if(addlen < 2) return 0; token[*token_strlen] = ' '; token[++(*token_strlen)] = 0; @@ -670,10 +670,10 @@ static int sldns_str2wire_check_svcbparams(uint8_t* rdata, uint16_t rdata_len) ,sldns_str2wire_svcparam_key_cmp); - /* The code below revolves around sematic errors in the SVCParam set. + /* The code below revolves around semantic errors in the SVCParam set. * So long as we do not distinguish between running Unbound as a primary * or as a secondary, we default to secondary behavior and we ignore the - * sematic errors. */ + * semantic errors. */ #ifdef SVCB_SEMANTIC_ERRORS { @@ -1356,7 +1356,7 @@ sldns_str2wire_svcbparam_mandatory(const char* val, uint8_t* rd, size_t* rd_len) */ qsort((void *)(rd + 4), count, sizeof(uint16_t), sldns_network_uint16_cmp); - /* The code below revolves around sematic errors in the SVCParam set. + /* The code below revolves around semantic errors in the SVCParam set. * So long as we do not distinguish between running Unbound as a primary * or as a secondary, we default to secondary behavior and we ignore the * semantic errors. */