Fixed handling SVDRP commands whith more than one blank between the command word and the options

This commit is contained in:
Klaus Schmidinger 2001-09-22 13:31:29 +02:00
parent 14992a8037
commit fe9d7f0545
2 changed files with 4 additions and 1 deletions

View File

@ -774,3 +774,5 @@ Video Disk Recorder Revision History
set to INVERSION_AUTO, which should work with all channels on Astra).
- Removing unnecessary double quotes from EPG Subtitle in EPGBugfixLevel >=1.
- EPG info is now updated if the contents changes but the ID remains the same.
- Fixed handling SVDRP commands whith more than one blank between the command
word and the options.

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.23 2001/09/14 14:31:22 kls Exp $
* $Id: svdrp.c 1.24 2001/09/22 13:30:02 kls Exp $
*/
#define _GNU_SOURCE
@ -909,6 +909,7 @@ void cSVDRP::Execute(char *Cmd)
s++;
if (*s)
*s++ = 0;
s = skipspace(s);
if (CMD("CHAN")) CmdCHAN(s);
else if (CMD("DELC")) CmdDELC(s);
else if (CMD("DELT")) CmdDELT(s);