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);