summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-03-25 12:51:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-03-25 12:51:29 +0100
commit8a3dae1e8bc3c008abc425c026f1c1bdf1ce026d (patch)
tree12fc3d08f2e83ca2956b38749975478f8ae15be2 /timers.c
parentdaaab1dfc8eb0423180484aa084e0d4c7bafb319 (diff)
downloadvdr-8a3dae1e8bc3c008abc425c026f1c1bdf1ce026d.tar.gz
vdr-8a3dae1e8bc3c008abc425c026f1c1bdf1ce026d.tar.bz2
Enhanced logging EPG event data
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/timers.c b/timers.c
index 93f52f35..6190c15a 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.53 2006/03/25 11:41:24 kls Exp $
+ * $Id: timers.c 1.54 2006/03/25 12:43:59 kls Exp $
*/
#include "timers.h"
@@ -492,12 +492,8 @@ void cTimer::SetEventFromSchedule(const cSchedules *Schedules)
void cTimer::SetEvent(const cEvent *Event)
{
if (event != Event) { //XXX TODO check event data, too???
- if (Event) {
- char vpsbuf[64] = "";
- if (Event->Vps())
- sprintf(vpsbuf, "(VPS: %s) ", *Event->GetVpsString());
- isyslog("timer %s set to event %s %s-%s %s'%s'", *ToDescr(), *Event->GetDateString(), *Event->GetTimeString(), *Event->GetEndTimeString(), vpsbuf, Event->Title());
- }
+ if (Event)
+ isyslog("timer %s set to event %s", *ToDescr(), *Event->ToDescr());
else
isyslog("timer %s set to no event", *ToDescr());
event = Event;