mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-29 08:56:18 +02:00
Reformat code
This commit is contained in:
parent
de75ad9b2c
commit
a013558e81
2 changed files with 3 additions and 4 deletions
|
@ -44,7 +44,6 @@ ClientConnection::~ClientConnection()
|
|||
}
|
||||
|
||||
|
||||
|
||||
void ClientConnection::socketRead(void* _to, size_t _bytes)
|
||||
{
|
||||
size_t toRead = _bytes;
|
||||
|
@ -173,8 +172,8 @@ void ClientConnection::getNextMessage()
|
|||
{
|
||||
socketRead(&buffer_[0], base_msg_size_);
|
||||
base_message_.deserialize(buffer_.data());
|
||||
// LOG(DEBUG) << "getNextMessage: " << baseMessage.type << ", size: " << baseMessage.size << ", id: " << baseMessage.id << ", refers: " <<
|
||||
// baseMessage.refersTo << "\n";
|
||||
// LOG(DEBUG) << "getNextMessage: " << base_message_.type << ", size: " << base_message_.size << ", id: " << base_message_.id
|
||||
// << ", refers: " << base_message_.refersTo << "\n";
|
||||
if (base_message_.size > buffer_.size())
|
||||
buffer_.resize(base_message_.size);
|
||||
// {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue