[mythtv] minor bug in autoexpire.cpp

Preston Crow pc-mythtv05a at crowcastle.net
Sun Aug 14 17:46:27 UTC 2005


I've been looking at the verbose output of the logging, and I see a
bunch of messages like:
2005-08-14 13:37:51.752 Found -1 episodes in recording profile 78 using max expiration
2005-08-14 13:37:51.756 Found -1 episodes in recording profile 850 using max expiration

I tracked this message down to programs/mythbackend/autoexpire.cpp in
AutoExpire::ExpireEpisodesOverMax().  The VERBOSE() output at line 422
is before the query.exec() call.  I believe that the correct code would
be to move the VERBOSE() inside the if statement, and probably add an
else() statement with another VERBOSE().

BTW: Should I be writing and submitting a patch?  If so, what's the
procedure for submitting it?

--PC



More information about the mythtv-dev mailing list