mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ws: protocol list whitespace fix
https://github.com/warmcat/libwebsockets/issues/1423#issuecomment-427690736
This commit is contained in:
parent
bdaa339a6e
commit
bbbdc85421
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ lws_process_ws_upgrade(struct lws *wsi)
|
|||
*p && *p != ',') {
|
||||
/* ignore leading spaces */
|
||||
if (!non_space_char_found && *p == ' ') {
|
||||
n++;
|
||||
p++;
|
||||
continue;
|
||||
}
|
||||
non_space_char_found = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue