Opened 14 years ago

Closed 14 years ago

#1732 closed patch (fixed)

Fix "Saving lineup..." log message

Reported by: sphery <mtdean@…> 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)

mythtv-datadirect_saving_lineup_log_message.patch (582 bytes) - added by sphery <mtdean@…> 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by sphery <mtdean@…>

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(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'.

Note: See TracTickets for help on using tickets.