mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Merge pull request #881 from dnaka91/fix-wrong-opcode-formatting
protocol: Fix error formatting for wrong op codes
This commit is contained in:
commit
0c7fda28a0
@ -296,7 +296,7 @@ void WebSocketServer::ProcessMessage(SessionPtr session, WebSocketServer::Proces
|
||||
} return;
|
||||
default:
|
||||
ret.closeCode = WebSocketCloseCode::UnknownOpCode;
|
||||
ret.closeReason = std::string("Unknown OpCode: %s") + std::to_string(opCode);
|
||||
ret.closeReason = std::string("Unknown OpCode: ") + std::to_string(opCode);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user