1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-06-18 13:52:34 +02:00

Removed sending status code as answer to subscription message

This commit is contained in:
Ralf Ramsauer 2015-09-29 02:12:02 +02:00
parent a3bf378458
commit 2ab091679f

View File

@ -106,10 +106,6 @@ static void session(tcp::socket &&sock)
goto out;
}
response.code = Response::Code::Success;
response .message = "";
sock.write_some(boost::asio::buffer(response.toJson()),
error);
sock.write_some(boost::asio::buffer(logic->getClientMessage().toJson()));
while (run) {