[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:34:05 +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 5a5e402b fix typos
5a5e402b is described below
commit 5a5e402b11c2b696f3f49665af2e30eb4bc056c3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Apr 27 23:31:58 2021 +0200
fix typos
---
src/examples/websocket_chatserver_example.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/examples/websocket_chatserver_example.c
b/src/examples/websocket_chatserver_example.c
index 519538bd..08c86192 100644
--- a/src/examples/websocket_chatserver_example.c
+++ b/src/examples/websocket_chatserver_example.c
@@ -52,7 +52,7 @@
/*
- * Specifiy with this constant whether or not to use HTTPS.
+ * Specify with this constant whether or not to use HTTPS.
* 0 means HTTP, 1 means HTTPS.
* Please note that you must enter a valid private key/certificate pair
* in the main procedure to running this example with HTTPS.
@@ -505,7 +505,7 @@
// "\n" \
// " /**\n" \
// " This is the event when the socket has received a message.\n" \
- // " This will parse the message and execute the corresponing
command (or add the message).\n" \
+ // " This will parse the message and execute the corresponding
command (or add the message).\n" \
// " */\n" \
// " function socket_onmessage(event)\n" \
// " {\n" \
@@ -669,7 +669,7 @@ struct Message
/* The data of the message. */
char*data;
size_t data_len;
- /* Specifies wheter the data is UTF-8 encoded text (0) or binary data (1) */
+ /* Specifies whether the data is UTF-8 encoded text (0) or binary data (1) */
int is_binary;
};
@@ -2114,7 +2114,7 @@ upgrade_handler (void *cls,
/**
- * Function called by the MHD_daemon when the client trys to access a page.
+ * Function called by the MHD_daemon when the client tries to access a page.
*
* This is used to provide the main page
* (in this example HTML + CSS + JavaScript is all in the same file)
@@ -2281,7 +2281,7 @@ access_handler (void *cls,
* 2. "Upgrade: websocket"
* 3. "Sec-WebSocket-Accept: <base64value>"
* The value for Sec-WebSocket-Accept can be generated with
MHD_websocket_create_accept.
- * It requires the value of the Sec-WebSocket-Key header of the reqeust.
+ * It requires the value of the Sec-WebSocket-Key header of the request.
* See also: https://tools.ietf.org/html/rfc6455#section-4.2.2
*/
MHD_add_response_header (response,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.