diff --git a/src/processors/hybi_header.cpp b/src/processors/hybi_header.cpp index 23d1ddc4ff..fab21860ad 100644 --- a/src/processors/hybi_header.cpp +++ b/src/processors/hybi_header.cpp @@ -205,8 +205,8 @@ uint8_t hybi_header::get_basic_size() const { return m_header[1] & BPB1_PAYLOAD; } -void hybi_header::validate_basic_header() const { - // check for control frame size +void hybi_header::validate_basic_header() const { + // check for control frame size if (is_control() && get_basic_size() > frame::limits::PAYLOAD_SIZE_BASIC) { throw processor::exception("Control Frame is too large",processor::error::PROTOCOL_VIOLATION); }