mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-07 05:11:43 +02:00
rename local variable
This commit is contained in:
parent
b2a48663c1
commit
ade48cf5e4
1 changed files with 2 additions and 2 deletions
|
@ -505,8 +505,8 @@ void StreamServer::ProcessRequest(const jsonrpcpp::request_ptr request, jsonrpcp
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
// Find stream
|
// Find stream
|
||||||
string streamUri_ = request->params().get("streamUri");
|
string streamUri = request->params().get("streamUri");
|
||||||
PcmStreamPtr stream = streamManager_->addStream(streamUri_);
|
PcmStreamPtr stream = streamManager_->addStream(streamUri);
|
||||||
if (stream == nullptr)
|
if (stream == nullptr)
|
||||||
throw jsonrpcpp::InternalErrorException("Stream not created", request->id());
|
throw jsonrpcpp::InternalErrorException("Stream not created", request->id());
|
||||||
stream->start(); // We start the stream, otherwise it would be silent
|
stream->start(); // We start the stream, otherwise it would be silent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue