Skip to content

Commit

Permalink
Fix segfault if stream download returns failure
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Jul 6, 2018
1 parent aa6c3f4 commit faf22f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ bool KodiAdaptiveStream::download(const char* url, const std::map<std::string, s
}
else if (returnCode >= 400)
{
kodi::Log(ADDON_LOG_ERROR, "Download %s failed with error: %d", returnCode);
kodi::Log(ADDON_LOG_ERROR, "Download %s failed with error: %d", url, returnCode);
}
else
{
Expand Down

0 comments on commit faf22f1

Please sign in to comment.