Fix some typos.
authorPeter Pentchev <roam@ringlet.net>
Tue, 16 Feb 2016 13:19:36 +0000 (15:19 +0200)
committerAndy Green <andy.green@linaro.org>
Tue, 16 Feb 2016 13:48:38 +0000 (21:48 +0800)
lib/client.c
lib/extension-permessage-deflate.c
lib/libwebsockets.h
lib/server.c
test-server/test-server-libev.c

index 2172645..33d990e 100644 (file)
@@ -640,7 +640,7 @@ check_extensions:
        /* instantiate the accepted extensions */
 
        if (!lws_hdr_total_length(wsi, WSI_TOKEN_EXTENSIONS)) {
-               lwsl_ext("no client extenstions allowed by server\n");
+               lwsl_ext("no client extensions allowed by server\n");
                goto check_accept;
        }
 
index e23f4ed..6ae348a 100644 (file)
@@ -197,7 +197,7 @@ lws_extension_callback_pm_deflate(struct lws_context *context,
                 * If we did not already send in the 00 00 FF FF, and he's
                 * out of input, he did not EXACTLY fill the output buffer
                 * (which is ambiguous and we will force it to go around
-                * again by witholding a byte), and he's otherwise working on
+                * again by withholding a byte), and he's otherwise working on
                 * being a FIN fragment, then do the FIN message processing
                 * of faking up the 00 00 FF FF that the sender stripped.
                 */
@@ -232,7 +232,7 @@ lws_extension_callback_pm_deflate(struct lws_context *context,
                 * more in the pipeline.
                 *
                 * So to work around that safely, if it used all output space
-                * exactly, we ALWAYS say there is more coming and we withold
+                * exactly, we ALWAYS say there is more coming and we withhold
                 * the last byte of the buffer to guarantee that is true.
                 *
                 * That still leaves us at least one byte to finish with a FIN
index 0c0b3f3..7db50aa 100644 (file)
@@ -423,7 +423,7 @@ struct lws_plat_file_ops {
                     unsigned char *buf, unsigned long len);
 
        /* Add new things just above here ---^
-        * This is part of the ABI, don't needlessly break compatibilty */
+        * This is part of the ABI, don't needlessly break compatibility */
 };
 
 /*
@@ -1190,7 +1190,7 @@ struct lws_protocols {
        void *user;
 
        /* Add new things just above here ---^
-        * This is part of the ABI, don't needlessly break compatibilty */
+        * This is part of the ABI, don't needlessly break compatibility */
 };
 
 enum lws_ext_options_types {
@@ -1199,7 +1199,7 @@ enum lws_ext_options_types {
        EXTARG_OPT_DEC
 
        /* Add new things just above here ---^
-        * This is part of the ABI, don't needlessly break compatibilty */
+        * This is part of the ABI, don't needlessly break compatibility */
 };
 
 /**
@@ -1216,7 +1216,7 @@ struct lws_ext_options {
        enum lws_ext_options_types type;
 
        /* Add new things just above here ---^
-        * This is part of the ABI, don't needlessly break compatibilty */
+        * This is part of the ABI, don't needlessly break compatibility */
 };
 
 struct lws_ext_option_arg {
@@ -1239,7 +1239,7 @@ struct lws_extension {
        const char *client_offer;
 
        /* Add new things just above here ---^
-        * This is part of the ABI, don't needlessly break compatibilty */
+        * This is part of the ABI, don't needlessly break compatibility */
 };
 
 /*
index 5f5de17..26daa96 100644 (file)
@@ -575,7 +575,7 @@ upgrade_ws:
                 * mode any more then... ah_temp member is at start the same
                 * though)
                 *
-                * Beacuse rxpos/rxlen shows something in the ah, we will get
+                * Because rxpos/rxlen shows something in the ah, we will get
                 * service guaranteed next time around the event loop
                 *
                 * All union members begin with hdr, so we can use it even
index 316198c..c2c4fd1 100644 (file)
@@ -31,7 +31,7 @@ struct lws_plat_file_ops fops_plat;
 char *resource_path = LOCAL_RESOURCE_PATH;
 
 /*
- * libev dumps their hygeine problems on their users blaming compiler
+ * libev dumps their hygiene problems on their users blaming compiler
  * http://lists.schmorp.de/pipermail/libev/2008q4/000442.html
  */