]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix typos 623/head
authorDimitris Apostolou <dimitris.apostolou@icloud.com>
Wed, 9 Feb 2022 08:41:50 +0000 (10:41 +0200)
committerDimitris Apostolou <dimitris.apostolou@icloud.com>
Fri, 18 Feb 2022 13:51:03 +0000 (15:51 +0200)
iterator/iter_delegpt.h
services/rpz.c
sldns/str2wire.c

index 17db15a23e26b9f88d925eec4bcb0e49a76a2e47..998b98cd803ec59aa358f70c5e998f597707a5ee 100644 (file)
@@ -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;
 };
index 309fda22f9489bbf00f921d8213b406bb99c816b..241540e027e2f89cae608de6cf2e899bcea5723f 100644 (file)
@@ -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;
        }
 
index d2cefae1c09e6f7082c17e0de34af8489d45ac7e..4e9da2b100485cc9468fbd266f245542e9a60bc7 100644 (file)
@@ -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. */