mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ws: check protocol before debug log
This commit is contained in:
parent
5b8a597c1d
commit
0043ea5d44
1 changed files with 2 additions and 1 deletions
|
@ -432,7 +432,8 @@ identify_protocol:
|
|||
}
|
||||
}
|
||||
|
||||
lwsl_debug("Selected protocol %s\n", wsi->a.protocol->name);
|
||||
lwsl_debug("Selected protocol %s\n", wsi->a.protocol ?
|
||||
wsi->a.protocol->name : "no pcol");
|
||||
|
||||
check_extensions:
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue