summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-22 13:31:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-22 13:31:29 +0200
commitfe9d7f05458bc34fa3791fb1dc1728e325c9532b (patch)
treea98ebd5539c7becdd83f3bdb88b594035d2fcd6d
parent14992a803752c35a92e9396838d01fbd38ba2f60 (diff)
downloadvdr-fe9d7f05458bc34fa3791fb1dc1728e325c9532b.tar.gz
vdr-fe9d7f05458bc34fa3791fb1dc1728e325c9532b.tar.bz2
Fixed handling SVDRP commands whith more than one blank between the command word and the options
-rw-r--r--HISTORY2
-rw-r--r--svdrp.c3
2 files changed, 4 insertions, 1 deletions
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);