1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a missing error message in SVDRP command LSTC

This commit is contained in:
Klaus Schmidinger 2002-02-24 14:16:46 +01:00
parent 715ed57ab1
commit 58af7c57e5
2 changed files with 5 additions and 1 deletions

View File

@ -1040,3 +1040,5 @@ Video Disk Recorder Revision History
- The contents of the distribution archive now contains the directory name with
the current version number, as in 'vdr-1.0.0pre1/...' in order to avoid
inadvertently overwriting an existing VDR directory with a new version.
- Added a missing error message in SVDRP command LSTC in case the given channel
can't be found.

View File

@ -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) {