0
0
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:
James Yonan 2018-01-12 21:55:57 -07:00 committed by Lev Stipakov
parent 6055aaf34c
commit 7297015895
No known key found for this signature in database
GPG Key ID: 88670BE258B9C258

View File

@ -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)
{