summaryrefslogtreecommitdiff
path: root/svdrp.c
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 /svdrp.c
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
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c3
1 files changed, 2 insertions, 1 deletions
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);