Refactor - always enable LOG macro. Enhance iolog

This commit is contained in:
Sergey Lyubka committed 2022-01-23 06:10:14 +00:00
1 parent f6cebf6956
commit 544644e94b
9 files changed
+155 -120

No files matched your search

+1 -1
View File
@@ -1552,7 +1552,7 @@ static void test_check_ip_acl(void) {
}
static void w3(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
LOG(LL_INFO, ("ev %d", ev));
// LOG(LL_INFO, ("ev %d", ev));
if (ev == MG_EV_WS_OPEN) {
mg_ws_send(c, "hi there!", 9, WEBSOCKET_OP_TEXT);
} else if (ev == MG_EV_WS_MSG) {