Skip to content

Commit

Permalink
Nit in WebSocket.cpp: Fixed a Trace message
Browse files Browse the repository at this point in the history
A "Trace" logging message was missing a space between the CLOSE code and close reason.
Fixed.
  • Loading branch information
cculianu committed Apr 16, 2020
1 parent 4e73499 commit 4c386fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ namespace WebSocket
} else {
if (f.type == FrameType::Ctl_Close) {
const Deser::CloseFrameInfo info(f);
Trace() << "Got CLOSE " << info.code.value_or(0) << info.reason;
Trace() << "Got CLOSE " << info.code.value_or(0) << " " << info.reason;
gotclose = true;
emit closeFrameReceived(info.code.value_or(0), info.reason);
if (!sentclose) {
Expand Down

0 comments on commit 4c386fe

Please sign in to comment.