Opened 12 years ago
Closed 12 years ago
#10477 closed Patch - Bug Fix (fixed)
Return pointer, not bool in httplivestream.cpp
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Return a pointer (NULL) not a bool (false) to eliminate warning message (detected by clang) in mythtv/libs/libmythtv/httplivestream.cpp due to mismatched types.
Patch attached.
Attachments (1)
Change History (2)
Changed 12 years ago by
Attachment: | httplivestream_cpp.diff added |
---|
comment:1 Changed 12 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.