summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-20 12:49:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-20 12:49:16 +0200
commit029dd8aa1c3e0ad3bba47e48347ec79038f3ee36 (patch)
tree4993583f511d2497e302444e622173e8c54ea51d /svdrp.c
parent302abb7cd18120e72e7bf79f1e8317036e3315b0 (diff)
downloadvdr-029dd8aa1c3e0ad3bba47e48347ec79038f3ee36.tar.gz
vdr-029dd8aa1c3e0ad3bba47e48347ec79038f3ee36.tar.bz2
Fixed slow reaction on SVDRP input
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index a029da2f..2859fb9d 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.47 2002/10/20 10:24:20 kls Exp $
+ * $Id: svdrp.c 1.48 2002/10/20 12:45:03 kls Exp $
*/
#include "svdrp.h"
@@ -1012,7 +1012,7 @@ void cSVDRP::Execute(char *Cmd)
else Reply(500, "Command unrecognized: \"%s\"", Cmd);
}
-void cSVDRP::Process(void)
+bool cSVDRP::Process(void)
{
bool NewConnection = !file.IsOpen();
bool SendGreeting = NewConnection;
@@ -1073,7 +1073,9 @@ void cSVDRP::Process(void)
isyslog("timeout on SVDRP connection");
Close(true);
}
+ return true;
}
+ return false;
}
char *cSVDRP::GetMessage(void)