1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

Fix some typos.

This commit is contained in:
Peter Pentchev 2016-02-16 15:19:36 +02:00 committed by Andy Green
parent 7714f71e4e
commit 1c9c278f49
5 changed files with 10 additions and 10 deletions

View file

@ -640,7 +640,7 @@ check_extensions:
/* instantiate the accepted extensions */ /* instantiate the accepted extensions */
if (!lws_hdr_total_length(wsi, WSI_TOKEN_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; goto check_accept;
} }

View 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 * 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 * out of input, he did not EXACTLY fill the output buffer
* (which is ambiguous and we will force it to go around * (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 * being a FIN fragment, then do the FIN message processing
* of faking up the 00 00 FF FF that the sender stripped. * 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. * more in the pipeline.
* *
* So to work around that safely, if it used all output space * 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. * the last byte of the buffer to guarantee that is true.
* *
* That still leaves us at least one byte to finish with a FIN * That still leaves us at least one byte to finish with a FIN

View file

@ -423,7 +423,7 @@ struct lws_plat_file_ops {
unsigned char *buf, unsigned long len); unsigned char *buf, unsigned long len);
/* Add new things just above here ---^ /* 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; void *user;
/* Add new things just above here ---^ /* 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 { enum lws_ext_options_types {
@ -1199,7 +1199,7 @@ enum lws_ext_options_types {
EXTARG_OPT_DEC EXTARG_OPT_DEC
/* Add new things just above here ---^ /* 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; enum lws_ext_options_types type;
/* Add new things just above here ---^ /* 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 { struct lws_ext_option_arg {
@ -1239,7 +1239,7 @@ struct lws_extension {
const char *client_offer; const char *client_offer;
/* Add new things just above here ---^ /* 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 */
}; };
/* /*

View file

@ -575,7 +575,7 @@ upgrade_ws:
* mode any more then... ah_temp member is at start the same * mode any more then... ah_temp member is at start the same
* though) * 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 * service guaranteed next time around the event loop
* *
* All union members begin with hdr, so we can use it even * All union members begin with hdr, so we can use it even

View file

@ -31,7 +31,7 @@ struct lws_plat_file_ops fops_plat;
char *resource_path = LOCAL_RESOURCE_PATH; 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 * http://lists.schmorp.de/pipermail/libev/2008q4/000442.html
*/ */