summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-24 14:16:46 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-24 14:16:46 +0100
commit58af7c57e5f043fdbc574a3c72596261c10d6e2c (patch)
treec2d93accf3d348106a3dcf38af15bc423c3c8966 /svdrp.c
parent715ed57ab1650cac0c6279d9cd60b2c63d32539c (diff)
downloadvdr-58af7c57e5f043fdbc574a3c72596261c10d6e2c.tar.gz
vdr-58af7c57e5f043fdbc574a3c72596261c10d6e2c.tar.bz2
Added a missing error message in SVDRP command LSTC1.0.0pre1
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/svdrp.c b/svdrp.c
index 6fe69474..228003ea 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.32 2002/02/24 11:05:38 kls Exp $
+ * $Id: svdrp.c 1.33 2002/02/24 14:16:03 kls Exp $
*/
#include "svdrp.h"
@@ -637,6 +637,8 @@ void cSVDRP::CmdLSTC(const char *Option)
}
if (next)
Reply(250, "%d %s", next->number, next->ToText());
+ else
+ Reply(501, "Channel \"%s\" not defined", Option);
}
}
else if (Channels.MaxNumber() >= 1) {