mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 00:26:41 +02:00
fix warning
This commit is contained in:
parent
300508a54b
commit
391e86b586
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ void StreamSession::getNextMessage()
|
|||
socketRead(&buffer[0], baseMsgSize);
|
||||
baseMessage.deserialize(&buffer[0]);
|
||||
|
||||
if ((baseMessage.type > message_type::kLast) || (baseMessage.type < message_type::kFirst))
|
||||
if (baseMessage.type > message_type::kLast)
|
||||
{
|
||||
stringstream ss;
|
||||
ss << "unknown message type received: " << baseMessage.type << ", size: " << baseMessage.size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue