From fe9d7f05458bc34fa3791fb1dc1728e325c9532b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 22 Sep 2001 13:31:29 +0200 Subject: Fixed handling SVDRP commands whith more than one blank between the command word and the options --- HISTORY | 2 ++ svdrp.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index c50dea72..ade7a7da 100644 --- a/HISTORY +++ b/HISTORY @@ -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. diff --git a/svdrp.c b/svdrp.c index d1833612..3c90bb02 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.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); -- cgit v1.2.3