mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-30 21:18:25 +00:00
fix for C89
This commit is contained in:
1 parent
63d8bb7324
commit
0ad47a461b
3 files changed
+6
-6
No files matched your search
@@ -181,7 +181,7 @@ static void mg_ws_cb(struct mg_connection *c, int ev, void *ev_data) {
|
||||
struct mg_ws_message m;
|
||||
size_t len;
|
||||
uint8_t final, op;
|
||||
if (msk == c->is_client) {
|
||||
if (msk == (bool) c->is_client) {
|
||||
mg_error(c, c->is_client ? "masked WS server frame"
|
||||
: "unmasked WS client frame");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user