1
0
Fork 0
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:
Andy Green 2021-08-16 08:07:58 +01:00
parent 5b8a597c1d
commit 0043ea5d44

View file

@ -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:
/*