Skip to content

Commit

Permalink
Fix type on return value in HTTPLiveStream::StopStream()
Browse files Browse the repository at this point in the history
HTTPLiveStream::StopStream() should return a NULL pointer, not
false in an error condition.  This one must have slipped by
earlier.

Fixes #10477 using patch by Gary Buhrmaster.
  • Loading branch information
cpinkham committed Mar 20, 2012
1 parent 0ba4567 commit efdba7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/httplivestream.cpp
Expand Up @@ -882,7 +882,7 @@ DTC::LiveStreamInfo *HTTPLiveStream::StopStream(int id)
LOG(VB_GENERAL, LOG_ERR, SLOC +
QString("Unable to remove mark stream stopped for stream %1.")
.arg(id));
return false;
return NULL;
}

HTTPLiveStream *hls = new HTTPLiveStream(id);
Expand Down

0 comments on commit efdba7e

Please sign in to comment.