Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed Jan 11, 2020
1 parent 1141ba0 commit 1354af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/test/WebSocketTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ClientSocketListener : public oatpp::websocket::AsyncWebSocket::Listener{
m_messageBuffer.clear();
OATPP_LOGD("client", "received %s", wholeMessage->c_str());
} else if(size > 0) {
m_messageBuffer.write(data, size);
m_messageBuffer.writeSimple(data, size);
}
return nullptr;
}
Expand Down

0 comments on commit 1354af4

Please sign in to comment.