mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
websocket: make Sender::frame() const
Sender::frame() was already const-ready, it just didn't have the const attribute specified. Signed-off-by: James Yonan <james@openvpn.net>
This commit is contained in:
parent
6055aaf34c
commit
7297015895
@ -181,7 +181,7 @@ namespace openvpn {
|
||||
cli_rng->assert_crypto();
|
||||
}
|
||||
|
||||
void frame(Buffer& buf, const Status& s)
|
||||
void frame(Buffer& buf, const Status& s) const
|
||||
{
|
||||
if (s.opcode() == Protocol::Close)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user