[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: |
Tue, 27 Apr 2021 23:24:45 +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 67c79a9c fix typos
67c79a9c is described below
commit 67c79a9cd1174432988bcb315317f9dace8e131b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Apr 27 23:22:31 2021 +0200
fix typos
---
src/microhttpd_ws/mhd_websocket.c | 8 ++++----
src/microhttpd_ws/test_websocket.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/microhttpd_ws/mhd_websocket.c
b/src/microhttpd_ws/mhd_websocket.c
index 0e977973..12b46eef 100644
--- a/src/microhttpd_ws/mhd_websocket.c
+++ b/src/microhttpd_ws/mhd_websocket.c
@@ -30,11 +30,11 @@
struct MHD_WebSocketStream
{
- /* The function pointer to malloc for payload (can be used to use different
memory managment) */
+ /* The function pointer to malloc for payload (can be used to use different
memory management) */
MHD_WebSocketMallocCallback malloc;
- /* The function pointer to realloc for payload (can be used to use different
memory managment) */
+ /* The function pointer to realloc for payload (can be used to use different
memory management) */
MHD_WebSocketReallocCallback realloc;
- /* The function pointer to free for payload (can be used to use different
memory managment) */
+ /* The function pointer to free for payload (can be used to use different
memory management) */
MHD_WebSocketFreeCallback free;
/* The flags specified upon initialization. It may alter the behavior of
decoding/encoding */
int flags;
@@ -400,7 +400,7 @@ MHD_websocket_decode (struct MHD_WebSocketStream*ws,
if (0 != (opcode & 0x70))
{
/* RFC 6455 5.2 RSV1-3: If a reserved flag is set */
- /* (while it isn't specified by an extension) the communcation
must fail. */
+ /* (while it isn't specified by an extension) the communication
must fail. */
ws->validity = MHD_WEBSOCKET_VALIDITY_INVALID;
if (0 != (ws->flags
& MHD_WEBSOCKET_FLAG_GENERATE_CLOSE_FRAMES_ON_ERROR))
diff --git a/src/microhttpd_ws/test_websocket.c
b/src/microhttpd_ws/test_websocket.c
index 7e0cf4d6..0034eb4c 100644
--- a/src/microhttpd_ws/test_websocket.c
+++ b/src/microhttpd_ws/test_websocket.c
@@ -1055,7 +1055,7 @@ test_decodes ()
MHD_WEBSOCKET_STATUS_BINARY_LAST_FRAGMENT,
MHD_WEBSOCKET_VALIDITY_VALID,
12);
- /* Regular test: Fragmented binary frame wit payload */
+ /* Regular test: Fragmented binary frame with payload */
failed += test_decode_single (__LINE__,
MHD_WEBSOCKET_FLAG_SERVER
| MHD_WEBSOCKET_FLAG_NO_FRAGMENTS,
@@ -2724,7 +2724,7 @@ test_decodes ()
MHD_WEBSOCKET_STATUS_UTF8_ENCODING_ERROR,
MHD_WEBSOCKET_VALIDITY_INVALID,
7);
- /* Edge test (success): The maxium allowed UTF-8 character */
+ /* Edge test (success): The maximum allowed UTF-8 character */
failed += test_decode_single (__LINE__,
MHD_WEBSOCKET_FLAG_SERVER
| MHD_WEBSOCKET_FLAG_NO_FRAGMENTS,
@@ -2738,7 +2738,7 @@ test_decodes ()
MHD_WEBSOCKET_STATUS_TEXT_FRAME,
MHD_WEBSOCKET_VALIDITY_VALID,
16);
- /* Edge test (fail): The maxium allowed UTF-8 character + 1 */
+ /* Edge test (fail): The maximum allowed UTF-8 character + 1 */
failed += test_decode_single (__LINE__,
MHD_WEBSOCKET_FLAG_SERVER
| MHD_WEBSOCKET_FLAG_NO_FRAGMENTS,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated: fix typos,
gnunet <=