mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
fix spelling
This commit is contained in:
+1
-1
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]) ||
|
||||
|
||||
@@ -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])) )
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user