mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 08:06:41 +02:00
fixed check for client
This commit is contained in:
parent
fea5a4cb42
commit
5ba3301a4d
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void StreamServer::onMessageReceived(ControlSession* controlSession, const std::
|
||||||
msg::ServerSettings serverSettings;
|
msg::ServerSettings serverSettings;
|
||||||
serverSettings.setBufferMs(settings_.bufferMs);
|
serverSettings.setBufferMs(settings_.bufferMs);
|
||||||
|
|
||||||
if (request.method.find("Client.Set") == 0)
|
if (request.method.find("Client.Set") == string::npos)
|
||||||
{
|
{
|
||||||
clientInfo = Config::instance().getClientInfo(request.getParam("client").get<string>(), false);
|
clientInfo = Config::instance().getClientInfo(request.getParam("client").get<string>(), false);
|
||||||
if (clientInfo == nullptr)
|
if (clientInfo == nullptr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue