Opened 20 years ago
Closed 20 years ago
#1732 closed patch (fixed)
Fix "Saving lineup..." log message
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | trivial | Milestone: | unknown |
| Component: | mythtv | Version: | |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Attached trivial patch corrects an off-by-one error affecting only the "Saving lineup..." log message. Because of the "action=Update" parameter on the PostList (line 1174), size() returns one more than the number of channels in the lineup. I also considered moving the VERBOSE to before line 1174 so the size would be the number of channels when used for the VERBOSE, but didn't really think it makes much difference, so I just subtracted one from size() instead.
Attachments (1)
Change History (2)
by , 20 years ago
| Attachment: | mythtv-datadirect_saving_lineup_log_message.patch added |
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

(In [9800]) Closes #1732. Fix debug print when DataDirect channel lineup is saved.
This was reporting one extra channel, because it counted the number of params in the call to report the number of channels. One of those params is the action itself 'update'.