fix for C89

This commit is contained in:
Sergio R. Caprile committed 2026-11-30 10:47:05 -03:00
1 parent 63d8bb7324
commit 0ad47a461b
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -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;