]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix spelling typos in comments and code 12157/head
authorMichal Nowak <mnowak@isc.org>
Sun, 24 May 2026 07:00:21 +0000 (07:00 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 15:04:31 +0000 (15:04 +0000)
Assisted-by: Mistral Vibe:mistral-medium-3.5
Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit 36fe37f6b4c1d7948ec128eee0cd60ccd30b1037)

34 files changed:
bin/dnssec/dnssec-keygen.c
bin/dnssec/dnssec-signzone.c
lib/dns/catz.c
lib/dns/dns64.c
lib/dns/dnssec.c
lib/dns/include/dns/adb.h
lib/dns/include/dns/compress.h
lib/dns/include/dns/db.h
lib/dns/include/dns/dispatch.h
lib/dns/include/dns/nametree.h
lib/dns/include/dns/qp.h
lib/dns/include/dns/sdlz.h
lib/dns/include/dns/ssu.h
lib/dns/include/dns/tsig.h
lib/dns/include/dns/zone.h
lib/dns/name.c
lib/dns/qp.c
lib/dns/qp_p.h
lib/dns/qpcache.c
lib/dns/qpzone.c
lib/dns/rdata/in_1/a_1.c
lib/dns/resolver.c
lib/dns/rpz.c
lib/dns/rrl.c
lib/isc/histo.c
lib/isc/ht.c
lib/isc/include/isc/hmac.h
lib/isc/include/isc/stdio.h
lib/isc/include/isc/tls.h
lib/isc/netmgr/http.c
lib/isc/netmgr/tcp.c
lib/isc/picohttpparser.c
lib/isccfg/check.c
lib/isccfg/include/isccfg/aclconf.h

index d690cbabdb5b588d6ce9513bcf531be8d32abd4e..930458db54c761b255daa71805d25199722ba638 100644 (file)
@@ -66,7 +66,7 @@
 const char *program = "dnssec-keygen";
 
 /*
- * These are are set here for backwards compatibility.  They are
+ * These are set here for backwards compatibility.  They are
  * raised to 2048 in FIPS mode.
  */
 static int min_rsa = 1024;
index d0493074d6e28e5ac1a4b88774204bd5b5faed2d..a9907ccd39718de7840f50506422ba7626e5b48d 100644 (file)
@@ -2882,7 +2882,7 @@ findkeys:
        dns_diff_init(mctx, &diff);
 
        /*
-        * Update keylist with information from from the key repository.
+        * Update keylist with information from the key repository.
         */
        dns_dnssec_updatekeys(&keylist, &matchkeys, NULL, gorigin, keyttl,
                              &diff, mctx, report);
index 4187e53252f540dfb20ff6d00bdb9d93a82d0d11..8736617f3ef406cf44358812b95f4d5ee8d0b4d1 100644 (file)
@@ -706,7 +706,7 @@ dns__catz_zones_merge(dns_catz_zone_t *catz, dns_catz_zone_t *newcatz) {
        }
        RUNTIME_CHECK(result == ISC_R_NOMORE);
        isc_ht_iter_destroy(&iter2);
-       /* At this moment catz->entries has to be be empty. */
+       /* At this moment catz->entries has to be empty. */
        INSIST(isc_ht_count(catz->entries) == 0);
        isc_ht_destroy(&catz->entries);
 
index 81cc87fdd6139806f489c880d34ac654cd0cf36c..d080a498b3c2e5a1cc912109973edfc03f99995c 100644 (file)
@@ -325,7 +325,7 @@ done:
 }
 
 /*
- * Posible mapping of IPV4ONLY.ARPA A records into AAAA records
+ * Possible mapping of IPV4ONLY.ARPA A records into AAAA records
  * for valid RFC6052 prefixes.
  */
 static struct {
index cf95f53622c70dab1cc3fb2a1a954d83a221f706..31bab67af21a1a1e03499af9cbf370d1d44cfe98 100644 (file)
@@ -622,7 +622,7 @@ dns_dnssec_keyactive(dst_key_t *key, isc_stdtime_t now) {
 }
 
 /*%<
- * Indicate whether a key is scheduled to to have CDS/CDNSKEY records
+ * Indicate whether a key is scheduled to have CDS/CDNSKEY records
  * published now.
  *
  * Returns true if.
@@ -674,7 +674,7 @@ syncpublish(dst_key_t *key, isc_stdtime_t now) {
 }
 
 /*%<
- * Indicate whether a key is scheduled to to have CDS/CDNSKEY records
+ * Indicate whether a key is scheduled to have CDS/CDNSKEY records
  * deleted now.
  *
  * Returns true if:
index 846c611a96e93b6b27586c8f7f1af0ad9aa603bf..092444d3911d96254baac5b3cfdfd81e44230283 100644 (file)
@@ -217,7 +217,7 @@ struct dns_adbaddrinfo {
 };
 
 /*!<
- * When the caller recieves a callback from dns_adb_createfind(), the
+ * When the caller receives a callback from dns_adb_createfind(), the
  * argument will a pointer to the dns_adbfind_t structure, which includes
  * this includes a copy of the callback function and argument passed to
  * dns_adb_createfind(), and a dns_adbstatus_t in the 'status' field,
index 8fbe2928b06b3ddb34dbdfde1efa69e243ada283..b665654b8a68860b984c4cea5830f25559dd65b6 100644 (file)
@@ -54,7 +54,7 @@ ISC_LANG_BEGINDECLS
  */
 
 /*
- * Logarithms of hash set sizes. In the usual (small) case, allow for for a
+ * Logarithms of hash set sizes. In the usual (small) case, allow for a
  * few dozen names in the hash set. (We can't actually use every slot because
  * space is reserved for performance reasons.) For large messages, the number
  * of names is limited by the minimum size of an RR (owner, type, class, ttl,
index f2af1756c50f2c9350f230ac1f47d648a41bb99d..b794652045832f90da4c24f422d2c0fa5399b6f2 100644 (file)
@@ -691,7 +691,7 @@ dns_db_currentversion(dns_db_t *db, dns_dbversion_t **versionp);
  *
  * \li 'db' is a valid database with zone semantics.
  *
- * \li versionp != NULL && *verisonp == NULL
+ * \li versionp != NULL && *versionp == NULL
  *
  * Ensures:
  *
@@ -708,7 +708,7 @@ dns_db_newversion(dns_db_t *db, dns_dbversion_t **versionp);
  *
  * \li 'db' is a valid database with zone semantics.
  *
- * \li versionp != NULL && *verisonp == NULL
+ * \li versionp != NULL && *versionp == NULL
  *
  * Ensures:
  *
index 3a9845e35fc7eda83cf64b671ad71f4640fa9d1b..d0445f3cf251369a2afbecae7172c1e5da65b66a 100644 (file)
@@ -197,7 +197,7 @@ dns_dispatch_createtcp(dns_dispatchmgr_t *mgr, const isc_sockaddr_t *localaddr,
  *
  * Note: a NULL transport is different from a non-NULL transport of type
  *      DNS_TRANSPORT_TCP, though currently their behavior is the same.
- *      This allows for different types of transactions to be seperated
+ *      This allows for different types of transactions to be separated
  *      in the future if needed.
  *
  * Requires:
index 9fec23041b14fd1a73405f597c11c4fd3291f881..b36a885abb99923c2a92cd2aabefb7e7432c5dbb 100644 (file)
@@ -83,10 +83,10 @@ dns_nametree_add(dns_nametree_t *nametree, const dns_name_t *name,
  * as dns_nametree_add() before the name is removed from the tree.
  *
  * If the nametree type was set to DNS_NAMETREE_BITS, then 'value' is
- * a bit number within a bit field, which is sized to accomodate at least
+ * a bit number within a bit field, which is sized to accommodate at least
  * 'value' bits. If the name already exists, then that bit will be set
  * in the bitfield, other bits will be retained, and ISC_R_SUCCESS will be
- * returned. If 'value' excees the number of bits in the existing bit
+ * returned. If 'value' exceeds the number of bits in the existing bit
  * field, the field will be expanded.
  *
  * Requires:
index d72730c80acb94ea7adcfcee2a846f3b8dcf5906..4bfb61be25f1b5e9bbc3380dce4148621f70af0b 100644 (file)
@@ -328,7 +328,7 @@ typedef enum dns_qpgc {
 
 /***********************************************************************
  *
- *  functions - create, destory, enquire
+ *  functions - create, destroy, enquire
  */
 
 void
index 2ba66e7ed5b5dfce9d6e32e3a073c97c25dcaae2..1fb82a03e649b2bff42e67f6fb9fefafc4685f33 100644 (file)
@@ -153,7 +153,7 @@ typedef isc_result_t (*dns_sdlzfindzone_t)(void *driverarg, void *dbdata,
 /*%<
  * Method prototype.  Drivers implementing the SDLZ interface MUST
  * supply a find zone method.  This method is called when the DNS
- * server is performing a query to to determine if 'name' is a
+ * server is performing a query to determine if 'name' is a
  * supported dns zone.  The find zone method will be called with the
  * longest possible name first, and continue to be called with
  * successively shorter domain names, until any of the following
@@ -338,7 +338,7 @@ dns_sdlz_putsoa_t dns_sdlz_putsoa;
 /*%<
  * This function may optionally be called from the 'authority'
  * callback to simplify construction of the SOA record for 'zone'.  It
- * will provide a SOA listing 'mname' as as the primary server and
+ * will provide a SOA listing 'mname' as the primary server and
  * 'rname' as the responsible person mailbox.  It is the
  * responsibility of the driver to increment the serial number between
  * responses if necessary.  All other SOA fields will have reasonable
index ead0097632321242d7ba02dd0fa2468d71edcc10..b94d6992e814f4004755fd9bccf8cb7e12c4588e 100644 (file)
@@ -155,7 +155,7 @@ dns_ssutable_checkrules(dns_ssutable_t *table, const dns_name_t *signer,
  *             In dns_ssutable_checkrules(), 'addr' should only be
  *             set if the request received via TCP.  This provides a
  *             weak assurance that the request was not spoofed.
- *             'addr' is to to validate dns_ssumatchtype_tcpself
+ *             'addr' is to validate dns_ssumatchtype_tcpself
  *             and dns_ssumatchtype_6to4self rules.
  *
  *             In dns_ssutable_checkrules2(), 'addr' can also be passed for
index 0ce5046bebf46f07c226662d9b310c5996670fe4..63383db466447d30f5deafbabc9a16ec4d0008de 100644 (file)
@@ -128,7 +128,7 @@ dns_tsigkey_createfromkey(const dns_name_t *name, dst_algorithm_t algorithm,
  *     and will not expire if inception == expire.
  *
  *     If generated is true (meaning the key was generated
- *     via TKEY negotation), the creating identity (if any), should
+ *     via TKEY negotiation), the creating identity (if any), should
  *     be specified in the creator parameter.
  *
  *     If restored is true, this indicates the key was restored from
index e5d99e4d3f7d1658bf66697361fb3f6ef17cfd63..e1fcfe0c4bc977c3f188c037c7f8d01e5d04396a 100644 (file)
@@ -1750,7 +1750,7 @@ dns_zone_findkeys(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
  * Requires:
  *\li  'zone' to be a valid initialised zone.
  *\li  'mctx' is not NULL.
- *\li  'keys' is not NULL and has enough space form 'nkeys' keys.
+ *\li  'keys' is not NULL and has enough space for 'nkeys' keys.
  *\li  'nkeys' is not NULL.
  *
  * Returns:
index aede7da585e9724e8f16abe92f3e983f14a0491d..1a900fb5bca52d29aed8448424d8de2d0f12acb9 100644 (file)
@@ -1415,7 +1415,7 @@ dns_name_fromwire(dns_name_t *const name, isc_buffer_t *const source,
         *
         * > In this scheme, an entire domain name or a list of labels at the
         * > end of a domain name is replaced with a pointer to a prior
-        * > occurance of the same name.
+        * > occurrence of the same name.
         *
         * The key word is "prior". This says that compression pointers must
         * point strictly earlier in the message (before our "marker" variable),
index d4dbb60c10d0f79bfbe77e16e333236409fc2b54..6c811e61216bd10c16c495023bbd3666d39c9036 100644 (file)
@@ -140,7 +140,7 @@ uint16_t dns_qp_bits_for_byte[BYTE_VALUES] = { 0 };
  *
  * This table only handles the first bit in an escape sequence; we
  * arrange that we can calculate the byte value for both bits by
- * adding the the second bit to the first bit's byte value.
+ * adding the second bit to the first bit's byte value.
  */
 uint8_t dns_qp_byte_for_bit[SHIFT_OFFSET] = { 0 };
 
index 666d6fb9ed814c7965910ff18e35568a59978c54..f8bbd2ff82f1a48bb2c52a01c7c5ec7a9ddd4e1b 100644 (file)
@@ -51,7 +51,7 @@
  * In a branch node:
  * - The 64-bit word is subdivided into three portions: the least
  *   significant bits are the node type (for a branch, 0x1); the
- *   most sigificant 15 bits are an offset value into the key, and
+ *   most significant 15 bits are an offset value into the key, and
  *   the 47 bits in the middle are a bitmap; see the documentation
  *   for the SHIFT_* enum below.
  * - The 32-bit word is a reference (dns_qpref_t) to the packed sparse
@@ -819,7 +819,7 @@ zero_twigs(dns_qpnode_t *twigs, dns_qpweight_t size) {
  *
  * Packed reader nodes save us from having to track `dns_qpread_t`
  * objects as distinct allocations: the packed reader nodes get
- * reclaimed when the the chunk containing their cells is reclaimed.
+ * reclaimed when the chunk containing their cells is reclaimed.
  * When a real `dns_qpread_t` object is needed, it is allocated on the
  * stack (it must not live longer than a isc_loop callback) and the
  * packed reader is unpacked into it.
index 1969d2116f5e045fade332d22240a4bf9b4e76f2..64a970df714b19e3caee4e65a652f7f1dac8b4c0 100644 (file)
@@ -180,7 +180,7 @@ struct qpcnode {
         * and the database have both released the object) the object
         * is freed.
         *
-        * Whenever 'erefs' is incremented from zero, we also aquire a
+        * Whenever 'erefs' is incremented from zero, we also acquire a
         * node use reference (see 'qpcache->references' below), and
         * release it when 'erefs' goes back to zero. This prevents the
         * database from being shut down until every caller has released
index 1b6958715f9537d5ff7768fd39e9f804e9e9eb83..1f3d42273226c1208e5968508a96dd1d57eb1b7a 100644 (file)
@@ -175,7 +175,7 @@ struct qpznode {
         * and the database have both released the object) the object
         * is freed.
         *
-        * Whenever 'erefs' is incremented from zero, we also aquire a
+        * Whenever 'erefs' is incremented from zero, we also acquire a
         * node use reference (see 'qpzonedb->references' below), and
         * release it when 'erefs' goes back to zero. This prevents the
         * database from being shut down until every caller has released
index 188d54604af30ec5cebe101e00aa83d240239179..f443bdf354f8c519a3cb554003110913bfc4cfb0 100644 (file)
@@ -230,7 +230,7 @@ checkowner_in_a(ARGS_CHECKOWNER) {
                }
 
                /*
-                * Handle SPF exists targets when the seperating label is:
+                * Handle SPF exists targets when the separating label is:
                 * - "_spf" RFC7208, section 5.7
                 * - "_spf_verify" RFC7208, Appendix D1
                 * - "_spf_rate" RFC7208, Appendix D1
index 9af4cc3db84aecb08526cded7f7ebb6dd8907f2d..1f4ac35826d274ffaccc8b7509b775fcbfcf6994 100644 (file)
@@ -1926,7 +1926,7 @@ fctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {
        }
 
        /*
-        * But don't wait past the the final expiration of the fetch,
+        * But don't wait past the final expiration of the fetch,
         * or for more than 10 seconds total.
         */
        if (us > limit) {
@@ -3181,7 +3181,7 @@ add_bad(fetchctx_t *fctx, dns_message_t *rmessage, dns_adbaddrinfo_t *addrinfo,
  *
  * Since there's a good chance the server is broken and won't answer either
  * query, and since an ADB find with two pending fetches is a very rare
- * occurrance anyway, we regard this theoretical SERVFAIL as the lesser
+ * occurrence anyway, we regard this theoretical SERVFAIL as the lesser
  * evil.
  */
 static bool
index 5fea09877de501e2f6964584ecf2b79298736b76..335dd37e0b17f6d3901788d2706fd9036761afab 100644 (file)
@@ -578,7 +578,7 @@ fix_qname_skip_recurse(dns_rpz_zones_t *rpzs) {
                 * it is okay to skip recursion. After the first zone
                 * that has to wait for recursion, all the others have
                 * to wait as well, so we want to create a mask in which
-                * all the trailing zeroes in zbits_req are are 1, and
+                * all the trailing zeroes in zbits_req are 1, and
                 * more significant bits are 0. (For instance,
                 * 0x0700 => 0x00ff, 0x0007 => 0x0000)
                 */
index 7ff79f87c7db8783d341de6680af11d8a4b3fe69..4d27850bccfebc69728884746e926de4b8744795 100644 (file)
@@ -46,7 +46,7 @@ log_end(dns_rrl_t *rrl, dns_rrl_entry_t *e, bool early, char *log_buf,
 
 /*
  * Get a modulus for a hash function that is tolerably likely to be
- * relatively prime to most inputs.  Of course, we get a prime for for initial
+ * relatively prime to most inputs.  Of course, we get a prime for initial
  * values not larger than the square of the last prime.  We often get a prime
  * after that.
  * This works well in practice for hash tables up to at least 100
index 4fa9d833963971bdf3f589231b4b5557b51c9ed1..044303862e94e16dfc3f71dcf9e8f08288450e33 100644 (file)
@@ -167,7 +167,7 @@ isc_histo_digits_to_bits(uint digits) {
  * one value per bucket. There are CHUNKSIZE values before chunk 1
  * which map to chunk 0, so it also has one value per bucket. (Hence
  * the first two chunks have one value per bucket.) The values in
- * chunk 0 correspond to denormal nubers in floating point terms.
+ * chunk 0 correspond to denormal numbers in floating point terms.
  * They are also the values where `63 - sigbits - clz` would be less
  * than one if denormals were not handled specially.
  *
index f18978cdac727877d01f21102b566943c81b5f48..d86a1933c331136893008f0a0f19c73dd817d7aa 100644 (file)
@@ -116,7 +116,7 @@ rehashing_in_progress(const isc_ht_t *ht) {
 }
 
 static bool
-hashtable_is_overcommited(isc_ht_t *ht) {
+hashtable_is_overcommitted(isc_ht_t *ht) {
        return ht->count >= (ht->size[ht->hindex] * HT_OVERCOMMIT);
 }
 
@@ -313,7 +313,7 @@ isc_ht_add(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize,
        if (rehashing_in_progress(ht)) {
                /* Rehash in progress */
                hashtable_rehash_one(ht);
-       } else if (hashtable_is_overcommited(ht)) {
+       } else if (hashtable_is_overcommitted(ht)) {
                /* Rehash requested */
                maybe_rehash(ht, ht->count);
        }
index 68b63d478a9e0cc83fb63be6f51f7e8d3e6dbcc0..2ac889531ef9f5d384c48c76077ba4d2fb687cfd 100644 (file)
@@ -13,7 +13,7 @@
 
 /*!
  * \file isc/hmac.h
- * \brief This is the header for for message authentication code.
+ * \brief This is the header for message authentication code.
  */
 
 #pragma once
index c8bac4d251434794d4907dbae2dd3bb145049b25..b0a49866b77560e3e40351e35d7a4ff44d00c129 100644 (file)
@@ -18,7 +18,7 @@
 /*%
  * These functions are wrappers around the corresponding stdio functions.
  *
- * They return a detailed error code in the form of an an isc_result_t.  ANSI C
+ * They return a detailed error code in the form of an isc_result_t.  ANSI C
  * does not guarantee that stdio functions set errno, hence these functions
  * must use platform dependent methods (e.g., the POSIX errno) to construct the
  * error code.
index 23b92c72d1189dd9bab52916bc0ef6449cc80ca3..4be7f3b4e30647b32f60527e25ff6bef707854af 100644 (file)
@@ -215,7 +215,7 @@ isc_tlsctx_enable_http2client_alpn(isc_tlsctx_t *ctx);
 void
 isc_tlsctx_enable_http2server_alpn(isc_tlsctx_t *ctx);
 /*%<
- * Enable HTTP/2 Application Layer Protocol Negotation for 'ctx'.
+ * Enable HTTP/2 Application Layer Protocol Negotiation for 'ctx'.
  *
  * Requires:
  *\li  'ctx' is not NULL.
@@ -234,7 +234,7 @@ isc_tlsctx_enable_dot_client_alpn(isc_tlsctx_t *ctx);
 void
 isc_tlsctx_enable_dot_server_alpn(isc_tlsctx_t *ctx);
 /*%<
- * Enable DoT Application Layer Protocol Negotation for 'ctx'.
+ * Enable DoT Application Layer Protocol Negotiation for 'ctx'.
  *
  * Requires:
  *\li  'ctx' is not NULL.
index 82742df510ddd49dd4dc0b09d201a00035eac9dc..5b67a8cbf0a204f5e687e17e0de929cfa307eebb 100644 (file)
@@ -1468,7 +1468,7 @@ http_send_outgoing(isc_nm_http_session_t *session, isc_nmhandle_t *httphandle,
        if (cb != NULL) {
                /*
                 * Case 0: The callback is specified, that means that a DNS
-                * message is ready. Let's flush the the buffer.
+                * message is ready. Let's flush the buffer.
                 */
                total = max_total_write_size;
        } else if (max_total_write_size >= FLUSH_HTTP_WRITE_BUFFER_AFTER) {
@@ -1480,9 +1480,9 @@ http_send_outgoing(isc_nm_http_session_t *session, isc_nmhandle_t *httphandle,
        } else if (session->sending > 0 && total > 0) {
                /*
                 * Case 2: There is one or more write requests in flight and
-                * we have some new data form nghttp2 to send.
+                * we have some new data from nghttp2 to send.
                 * Then let's return from the function: as soon as the
-                * "in-flight" write callback get's called or we have reached
+                * "in-flight" write callback gets called or we have reached
                 * FLUSH_HTTP_WRITE_BUFFER_AFTER bytes in the write buffer, we
                 * will flush the buffer. */
                INSIST(cb == NULL);
index 7d70d546239086ec3da7d295c1df52782cf36a12..c582740f94a9acb75492007f9370aa464c1cefc7 100644 (file)
@@ -903,7 +903,7 @@ accept_connection(isc_nmsocket_t *csock) {
 
        /*
         * We need to initialize the tcp and timer before failing because
-        * isc__nm_tcp_close() can't handle uninitalized TCP nmsocket.
+        * isc__nm_tcp_close() can't handle uninitialized TCP nmsocket.
         */
        if (isc__nmsocket_closing(csock)) {
                result = ISC_R_CANCELED;
index 933137714bcae7d6d4cac6d547a500b779097ae9..89fb8b6aa3bf4ea2652ad31265d25ac1646291ab 100644 (file)
@@ -646,7 +646,7 @@ phr_decode_chunked(struct phr_chunked_decoder *decoder, char *buf,
                        }
                        decoder->_hex_count = 0;
                        decoder->_state = CHUNKED_IN_CHUNK_EXT;
-               /* fallthru */
+               /* fall through */
                case CHUNKED_IN_CHUNK_EXT:
                        /* RFC 7230 A.2 "Line folding in chunk extensions is
                         * disallowed" */
@@ -669,7 +669,7 @@ phr_decode_chunked(struct phr_chunked_decoder *decoder, char *buf,
                                }
                        }
                        decoder->_state = CHUNKED_IN_CHUNK_DATA;
-               /* fallthru */
+               /* fall through */
                case CHUNKED_IN_CHUNK_DATA: {
                        size_t avail = bufsz - src;
                        if (avail < decoder->bytes_left_in_chunk) {
@@ -690,7 +690,7 @@ phr_decode_chunked(struct phr_chunked_decoder *decoder, char *buf,
                        decoder->bytes_left_in_chunk = 0;
                        decoder->_state = CHUNKED_IN_CHUNK_CRLF;
                }
-               /* fallthru */
+               /* fall through */
                case CHUNKED_IN_CHUNK_CRLF:
                        for (;; ++src) {
                                if (src == bufsz) {
@@ -720,7 +720,7 @@ phr_decode_chunked(struct phr_chunked_decoder *decoder, char *buf,
                                goto Complete;
                        }
                        decoder->_state = CHUNKED_IN_TRAILERS_LINE_MIDDLE;
-               /* fallthru */
+               /* fall through */
                case CHUNKED_IN_TRAILERS_LINE_MIDDLE:
                        for (;; ++src) {
                                if (src == bufsz) {
index e3e27590d0616cb7fca75a316cbf8c28e9b7d01f..07b77a49380369a9eb64557eed66ebda94a73269 100644 (file)
@@ -2360,8 +2360,8 @@ done:
 #endif /* HAVE_LIBNGHTTP2 */
 
 static isc_result_t
-check_tls_defintion(const cfg_obj_t *tlsobj, const char *name,
-                   isc_log_t *logctx, isc_symtab_t *symtab) {
+check_tls_definition(const cfg_obj_t *tlsobj, const char *name,
+                    isc_log_t *logctx, isc_symtab_t *symtab) {
        isc_result_t result, tresult;
        const cfg_obj_t *tls_proto_list = NULL, *tls_key = NULL,
                        *tls_cert = NULL, *tls_ciphers = NULL,
@@ -2520,7 +2520,7 @@ check_tls_definitions(const cfg_obj_t *config, isc_log_t *logctx,
                const char *name;
                obj = cfg_listelt_value(elt);
                name = cfg_obj_asstring(cfg_map_getname(obj));
-               tresult = check_tls_defintion(obj, name, logctx, symtab);
+               tresult = check_tls_definition(obj, name, logctx, symtab);
                if (result == ISC_R_SUCCESS) {
                        result = tresult;
                }
index 3d70f922e7de035a038a85e5b589c9207f8a5068..bca8fed5c66849d78f7dfe8dee08e7a0176ee9d3 100644 (file)
@@ -64,7 +64,7 @@ cfg_acl_fromconfig(const cfg_obj_t *caml, const cfg_obj_t *cctx,
  * Construct a new dns_acl_t from configuration data in 'caml' and
  * 'cctx'.  Memory is allocated through 'mctx'.
  *
- * Any named ACLs referred to within 'caml' will be be converted
+ * Any named ACLs referred to within 'caml' will be converted
  * into nested dns_acl_t objects.  Multiple references to the same
  * named ACLs will be converted into shared references to a single
  * nested dns_acl_t object when the referring objects were created