gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: -fix typos


From: gnunet
Subject: [libmicrohttpd] branch master updated: -fix typos
Date: Sun, 26 Jun 2022 15:24:27 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new d629ada1 -fix typos
d629ada1 is described below

commit d629ada1a20018c1cbc7f7e0badf0f8eca9b0fd7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jun 26 15:24:24 2022 +0200

    -fix typos
---
 configure.ac                       |  8 ++++----
 doc/chapters/websocket.inc         |  4 ++--
 doc/libmicrohttpd.texi             |  2 +-
 m4/mhd_check_cc_cflag.m4           |  2 +-
 m4/mhd_check_cc_ldflag.m4          |  2 +-
 src/include/microhttpd_ws.h        |  2 +-
 src/microhttpd/digestauth.c        | 12 ++++++------
 src/microhttpd_ws/test_websocket.c |  2 +-
 8 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/configure.ac b/configure.ac
index 871df81c..8f87bc0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,7 @@ AC_MSG_CHECKING([for build type])
 AC_ARG_ENABLE([build-type],
   [AS_HELP_STRING([[--enable-build-type=TYPE]],
   [enable build TYPE, a set of configuration parameters; individual settings ]
-  [(asserts, sanitizers, compiler and linker flags) can be overriden by ]
+  [(asserts, sanitizers, compiler and linker flags) can be overridden by ]
   [additional configure parameters (debug, debugger, neutral, release, 
release-compact, ]
   [release-hardened) [neutral]])],
   [], [enable_build_type=neutral])
@@ -86,7 +86,7 @@ AS_VAR_IF([enable_build_type], ["no"], 
[enable_build_type="neutral"])
 AS_VAR_IF([enable_build_type], ["yes"], [AC_MSG_ERROR([[Missing TYPE for 
--enable-build-type=]])])
 AS_CASE([${enable_build_type}],
   [debug], [AC_MSG_RESULT([debug. Defaults: enable asserts, sanitizers (if any 
supported), debug information, compiler optimisation for debugging])],
-  [debugger], [AC_MSG_RESULT([debuger. Defaults: enable asserts, disable 
sanitizers, debug information, no compiler optimisation])],
+  [debugger], [AC_MSG_RESULT([debugger. Defaults: enable asserts, disable 
sanitizers, debug information, no compiler optimisation])],
   [neutral], [AC_MSG_RESULT([neutral. Defaults: use only user-specified 
compiler and linker flags])],
   [release], [AC_MSG_RESULT([release. Defaults: disable asserts, enable 
compiler optimisations])],
   [release-compact], [AC_MSG_RESULT([release-compact. Defaults: disable 
asserts, enable compiler optimisations for size, enable compact code])],
@@ -1537,7 +1537,7 @@ fd = epoll_create1(EPOLL_CLOEXEC);]])],
   AS_IF([test "x$mhd_cv_have_epoll_create1" = "xyes"],[
     AC_DEFINE([[HAVE_EPOLL_CREATE1]], [[1]], [Define if you have epoll_create1 
function.])]))
 
-AC_CACHE_CHECK([for suported 'noreturn' keyword], [mhd_cv_decl_noreturn],
+AC_CACHE_CHECK([for supported 'noreturn' keyword], [mhd_cv_decl_noreturn],
   [
     mhd_cv_decl_noreturn="none"
     CFLAGS="${CFLAGS_ac} ${user_CFLAGS} ${errattr_CFLAGS}"
@@ -3297,7 +3297,7 @@ AC_MSG_CHECKING([whether to enable run-time sanitizers])
 AC_ARG_ENABLE([sanitizers],
   [AS_HELP_STRING([[--enable-sanitizers[=address,undefined,leak,user-poison]]],
   [enable run-time sanitizers, specify the list of types of sanitizers to 
enable, ]
-  [leave the list empty (or set to "auto") to enable all suppoted and 
available ]
+  [leave the list empty (or set to "auto") to enable all supported and 
available ]
   [sanitizers, or specify "auto-fallback" to use sanitizers even without ]
   [installed sanitizer run-time library])],
   [], [AS_CASE([${enable_build_type}],[debug],
diff --git a/doc/chapters/websocket.inc b/doc/chapters/websocket.inc
index e1cbdc2b..a091bfa0 100644
--- a/doc/chapters/websocket.inc
+++ b/doc/chapters/websocket.inc
@@ -105,7 +105,7 @@ to @code{MHD_upgrade_action()}.
 
 Depending of the flags specified while calling @code{MHD_start_deamon()}
 our @code{upgrade_handler} is either executed in the same thread
-as our deamon or in a thread specific for each connection.
+as our daemon or in a thread specific for each connection.
 If it is executed in the same thread then @code{upgrade_handler} is
 a blocking call for our webserver and
 we should finish it as fast as possible (i. e. by creating a thread and
@@ -436,7 +436,7 @@ to the websocket protocol.
 To use received payload data, you need to decode the frame data first.
 To send payload data, you need to encode it into frame data first.
 
-@emph{libmicrohttpd_ws} provides serveral functions for encoding of
+@emph{libmicrohttpd_ws} provides several functions for encoding of
 payload data and decoding of frame data:
 
 @itemize @bullet
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 265496a0..b1ae347d 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -4459,7 +4459,7 @@ should be @code{NULL}.
 This parameter is a pointer to a variable which contains the last check status
 of the UTF-8 sequence. It is required to continue a previous
 UTF-8 sequence check when fragmentation is used, because a UTF-8 sequence
-could be splitted upon fragments.
+could be split upon fragments.
 
 @code{enum MHD_WEBSOCKET_UTF8STEP} is used for this value.
 If you start a new fragment using
diff --git a/m4/mhd_check_cc_cflag.m4 b/m4/mhd_check_cc_cflag.m4
index f387495b..bdac60ec 100644
--- a/m4/mhd_check_cc_cflag.m4
+++ b/m4/mhd_check_cc_cflag.m4
@@ -9,7 +9,7 @@
 #   The check is performing by prepending FLAG-TO-TEST to CFLAGS, then
 #   prepending value of VARIABLE-TO-PREPEND-CFLAGS (if any) to CFLAGS, and
 #   then performing compile and link test. If test succeed without warnings,
-#   then the flag is considered to be suppoted. Otherwise, if compile and link
+#   then the flag is considered to be supported. Otherwise, if compile and link
 #   without test flag can be done without any warning, the flag is considered
 #   to be unsuppoted.
 #
diff --git a/m4/mhd_check_cc_ldflag.m4 b/m4/mhd_check_cc_ldflag.m4
index e5f57953..9eb5b96b 100644
--- a/m4/mhd_check_cc_ldflag.m4
+++ b/m4/mhd_check_cc_ldflag.m4
@@ -9,7 +9,7 @@
 #   The check is performing by prepending FLAG-TO-TEST to LDFLAGS, then
 #   prepending value of VARIABLE-TO-PREPEND-LDFLAGS (if any) to LDFLAGS, and
 #   then performing compile and link test. If test succeed without warnings,
-#   then the flag is considered to be suppoted. Otherwise, if compile and link
+#   then the flag is considered to be supported. Otherwise, if compile and link
 #   without test flag can be done without any warning, the flag is considered
 #   to be unsuppoted.
 #
diff --git a/src/include/microhttpd_ws.h b/src/include/microhttpd_ws.h
index 27da0553..a1322388 100644
--- a/src/include/microhttpd_ws.h
+++ b/src/include/microhttpd_ws.h
@@ -23,7 +23,7 @@
  */
 /*
  *                            *** WARNING! ***
- * *   The websockets interface is currenly in "experimental" stage.   *
+ * *   The websockets interface is currently in "experimental" stage.   *
  * * It does not work on architectures with endianness different from  *
  * * big endian and little endian and may have some portability issues.*
  * * API and ABI are not yet stable.                                   *
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 1e25fa4a..35c2deb5 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -651,7 +651,7 @@ get_rq_dauth_params (struct MHD_Connection *connection)
 /**
  * Extract timestamp from the given nonce.
  * @param nonce the nonce to check
- * @param noncelen the lenght of the nonce, zero for autodetect
+ * @param noncelen the length of the nonce, zero for autodetect
  * @param[out] ptimestamp the pointer to store extracted timestamp
  * @return true if timestamp was extracted,
  *         false if nonce does not have valid timestamp.
@@ -709,7 +709,7 @@ fast_simple_hash (const uint8_t *data,
  *
  * @param arr_size the size of nonce_nc array
  * @param nonce the pointer that referenced a zero-terminated array of nonce
- * @param noncelen the lenth of @a nonce, in characters
+ * @param noncelen the length of @a nonce, in characters
  * @return #MHD_YES if successful, #MHD_NO if invalid (or we have no NC array)
  */
 static size_t
@@ -1065,7 +1065,7 @@ is_slot_available (const struct MHD_NonceNc *const nn,
  * @param connection the MHD connection structure
  * @param timestamp the current timestamp
  * @param realm the string of characters that describes the realm of auth
- * @param realm_len the lenght of the @a realm
+ * @param realm_len the length of the @a realm
  * @param da the digest algorithm to use
  * @param[out] nonce the pointer to a character array for the nonce to put in,
  *        must provide NONCE_STD_LEN(da->digest_size)+1 bytes
@@ -1377,7 +1377,7 @@ get_buffer_for_size (char 
tmp1[_MHD_STATIC_UNQ_BUFFER_SIZE],
 enum _MHD_GetUnqResult
 {
   _MHD_UNQ_OK = 0,         /**< Got unquoted string */
-  _MHD_UNQ_TOO_LARGE = -7, /**< The string is too large to unqoute */
+  _MHD_UNQ_TOO_LARGE = -7, /**< The string is too large to unquote */
   _MHD_UNQ_OUT_OF_MEM = 3  /**< Out of memory error */
 };
 
@@ -1536,8 +1536,8 @@ digest_auth_check_all_inner (struct MHD_Connection 
*connection,
   uint64_t nci;
   char *qmark;
   const struct MHD_RqDAuth *params;
-  char tmp1[_MHD_STATIC_UNQ_BUFFER_SIZE]; /**< Temporal buffer in stack for 
unqouting */
-  char **const ptmp2 = pbuf;     /**< Temporal malloc'ed buffer for unqouting 
*/
+  char tmp1[_MHD_STATIC_UNQ_BUFFER_SIZE]; /**< Temporal buffer in stack for 
unquoting */
+  char **const ptmp2 = pbuf;     /**< Temporal malloc'ed buffer for unquoting 
*/
   size_t tmp2_size; /**< The size of @a tmp2 buffer */
   struct _MHD_str_w_len unquoted;
   struct _MHD_mstr_w_len unq_copy;
diff --git a/src/microhttpd_ws/test_websocket.c 
b/src/microhttpd_ws/test_websocket.c
index 00fd8e03..b824b9ce 100644
--- a/src/microhttpd_ws/test_websocket.c
+++ b/src/microhttpd_ws/test_websocket.c
@@ -9838,7 +9838,7 @@ test_check_upgrade_header ()
              (unsigned int) __LINE__);
     ++failed;
   }
-  /* Edge test (success): All allowed token characters plus /, then websocket 
keyowrd */
+  /* Edge test (success): All allowed token characters plus /, then websocket 
keyword */
   ret = MHD_websocket_check_upgrade_header (
     
"!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz/,websocket");
   if (MHD_WEBSOCKET_STATUS_OK != ret)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]