Commit 98874510 authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Conditional LWS debug info

parent 2f6f034e
......@@ -147,8 +147,8 @@ void TJAlienConnectionManager::MakeWebsocketConnection(TJAlienCredentialsObject
}
// Use this for debugging
//lws_set_log_level(LLL_EXT | LLL_USER | LLL_PARSER | LLL_INFO | LLL_ERR | LLL_NOTICE, nullptr);
lws_set_log_level(2047, nullptr);
// lws_set_log_level(LLL_EXT | LLL_USER | LLL_PARSER | LLL_INFO | LLL_ERR | LLL_NOTICE, nullptr);
lws_set_log_level(gDebug > 0 ? 2047 : 0, nullptr);
// Reset context variables
context = nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment