summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-14 15:52:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-14 15:52:40 +0100
commitcd43adac926d60203754515b0eaf0bb3ac2d1399 (patch)
tree2c3e405e5e501ff1f62b1ddbbfa9dcfe52ca99c7 /svdrp.c
parent0ef577f43a7671484aa1f40fcfb1386e4d0feef6 (diff)
downloadvdr-cd43adac926d60203754515b0eaf0bb3ac2d1399.tar.gz
vdr-cd43adac926d60203754515b0eaf0bb3ac2d1399.tar.bz2
Made the "What's on now/next?" menus a lot faster by storing a pointer to each channel's schedule in the cChannel data
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index 01e156d2..a346506d 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.91 2006/01/14 11:42:52 kls Exp $
+ * $Id: svdrp.c 1.92 2006/01/14 14:55:52 kls Exp $
*/
#include "svdrp.h"
@@ -936,7 +936,7 @@ void cSVDRP::CmdLSTE(const char *Option)
else
Channel = Channels.GetByChannelID(tChannelID::FromString(Option));
if (Channel) {
- Schedule = Schedules->GetSchedule(Channel->GetChannelID());
+ Schedule = Schedules->GetSchedule(Channel);
if (!Schedule) {
Reply(550, "No schedule found");
return;