Skip to content
Browse files

Fix type on return value in HTTPLiveStream::StopStream()

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...
1 parent 0ba4567 commit efdba7ec216f80049f7b939053433c95c752d5bb @cpinkham cpinkham committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/httplivestream.cpp
View
2 mythtv/libs/libmythtv/httplivestream.cpp
@@ -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);

0 comments on commit efdba7e

Please sign in to comment.
Something went wrong with that request. Please try again.