1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01: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; 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())); sock.write_some(boost::asio::buffer(logic->getClientMessage().toJson()));
while (run) { while (run) {