diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-08 12:24:30 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-08 12:24:30 +0200 |
commit | 19f9f9cfce5dcbd0e5b468da85163f589c1082f2 (patch) | |
tree | c829668a8323ef631fb9bc35aed5d639fe9e368d /svdrp.c | |
parent | 605d8df72ada13ae54fd4452f43f09f94ade87d1 (diff) | |
download | vdr-19f9f9cfce5dcbd0e5b468da85163f589c1082f2.tar.gz vdr-19f9f9cfce5dcbd0e5b468da85163f589c1082f2.tar.bz2 |
Fixed daemon mode (RcIo and Interface no longer static)
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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.10 2000/09/17 13:39:37 kls Exp $ + * $Id: svdrp.c 1.11 2000/10/08 12:21:14 kls Exp $ */ #define _GNU_SOURCE @@ -326,7 +326,7 @@ void cSVDRP::CmdCHAN(const char *Option) Reply(501, "Undefined channel \"%s\"", Option); return; } - if (Interface.Recording()) { + if (Interface->Recording()) { Reply(550, "Can't switch channel, interface is recording"); return; } @@ -474,7 +474,7 @@ void cSVDRP::CmdHITK(const char *Option) if (*Option) { eKeys k = Keys.Translate(Option); if (k != kNone) { - Interface.PutKey(k); + Interface->PutKey(k); Reply(250, "Key \"%s\" accepted", Option); } else |