commit b4f2b6583f65ebeae01a102ba68292fd546b2a89
parent 2a9c4676ed05680ffe008e92717e4245491e532c
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 28 Jul 2026 11:40:40 +0200
fix spelling
Diffstat:
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -754,7 +754,7 @@ AS_VAR_IF([enable_linker_hardening],["yes"],
[MHD_CHECK_ADD_CC_LDFLAG([-Wl,-z,now],[LDFLAGS_ac])])
# Actually should be "noexec" by default, but let's try to enforce it.
MHD_CHECK_ADD_CC_LDFLAG([-Wl,-z,noexecstack],[LDFLAGS_ac])
- # W32-specific. Some are enabled by default, but they will be enfored to be sure.
+ # W32-specific. Some are enabled by default, but they will be enforced to be sure.
MHD_CHECK_ADD_CC_LDFLAGS([-Wl,--large-address-aware -Wl,--enable-auto-image-base],[LDFLAGS_ac])
MHD_CHECK_ADD_CC_LDFLAGS([-Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va],[LDFLAGS_ac])
LDFLAGS="${LDFLAGS_ac} ${user_LDFLAGS}"
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -71,7 +71,7 @@
* @defgroup authentication HTTP authentication
* MHD API related to basic and digest HTTP authentication.
* @defgroup logging logging
- * MHD API to mange logging and error handling
+ * MHD API to manage logging and error handling
* @defgroup specialized misc. specialized functions
* This group includes functions that do not fit into any particular
* category and that are rarely used.
@@ -1890,7 +1890,7 @@ enum MHD_OPTION
/**
* Size of the internal array holding the map of the nonce and
- * the nonce counter. This option should be followed by an `unsigend int`
+ * the nonce counter. This option should be followed by an `unsigned int`
* argument.
* The map size is 4 by default, which is enough to communicate with
* a single client at any given moment of time, but not enough to
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -4371,7 +4371,7 @@ parse_http_version (struct MHD_Connection *connection,
const char *const h = http_string; /**< short alias */
mhd_assert (NULL != http_string);
- /* String must start with 'HTTP/d.d', case-sensetive match.
+ /* String must start with 'HTTP/d.d', case-sensitive match.
* See https://www.rfc-editor.org/rfc/rfc9112#name-http-version */
if ((HTTP_VER_LEN != len) ||
('H' != h[0]) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) ||
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
@@ -902,7 +902,7 @@ MHD_str_remove_token_caseless_ (const char *str,
cur_token = s1; /* the first char of input token */
- /* Check the token with case-insensetive match */
+ /* Check the token with case-insensitive match */
t_pos = 0;
while ( ((size_t) (s1 - str) < str_len) && (token_len > t_pos) &&
(charsequalcaseless (*s1, token[t_pos])) )
diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
@@ -389,7 +389,7 @@ MHD_str_to_uvalue_n_ (const char *str,
/**
- * Convert uint32_t value to hexdecimal US-ASCII string.
+ * Convert uint32_t value to hexadecimal US-ASCII string.
* @note: result is NOT zero-terminated.
* @param val the value to convert
* @param buf the buffer to result to
diff --git a/src/testcurl/https/test_https_get_iovec.c b/src/testcurl/https/test_https_get_iovec.c
@@ -119,7 +119,7 @@ iovec_ahc (void *cls,
{
int *chunk;
/* Assign chunks of memory area in the reverse order
- * to make non-continous set of data therefore
+ * to make non-continuous set of data therefore
* possible buffer overruns could be detected */
chunk = data + (((TESTSTR_IOVCNT - 1) - (unsigned int) j)
* (TESTSTR_SIZE / TESTSTR_IOVCNT / sizeof(int)));