Skip to content

Commit dbde506

Browse files
committed
Fixed Typo
1 parent e8f6a6f commit dbde506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/internal/WebSocketProtocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace SL {
6262
write(parent, socket, msg.msg);
6363
//update the socket status to reflect it is closing to prevent other messages from being sent.. this is the last valid message
6464
//make sure to do this after a call to write so the write process sends the close message, but no others
65-
if (msg.code == OpCode::CLOSE) {
65+
if (msg.msg.code == OpCode::CLOSE) {
6666
socket->SocketStatus_ = SocketStatus::CLOSING;
6767
}
6868
}

0 commit comments

Comments
 (0)