diff options
-rw-r--r-- | net/websockets/websocket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/websockets/websocket.cc b/net/websockets/websocket.cc index 4fa0bfd..9b2b142 100644 --- a/net/websockets/websocket.cc +++ b/net/websockets/websocket.cc @@ -380,7 +380,7 @@ void WebSocket::ProcessFrameData() { socket_stream_->Close(); return; } - length = length * 128 + *p & 0x7f; + length = length * 128 + (*p & 0x7f); ++p; } // Checks if the frame body hasn't been completely received yet. |