mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 10:51:45 +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";
|
||||
|
||||
// Find stream
|
||||
string streamUri_ = request->params().get("streamUri");
|
||||
PcmStreamPtr stream = streamManager_->addStream(streamUri_);
|
||||
string streamUri = request->params().get("streamUri");
|
||||
PcmStreamPtr stream = streamManager_->addStream(streamUri);
|
||||
if (stream == nullptr)
|
||||
throw jsonrpcpp::InternalErrorException("Stream not created", request->id());
|
||||
stream->start(); // We start the stream, otherwise it would be silent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue