Opened 20 years ago
Closed 20 years ago
#219 closed patch (fixed)
Verbose error in autoexpire.cpp
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
From the -dev list:
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().
Patch, affects extra lines due to indention change