summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-08-30 10:14:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-08-30 10:14:42 +0200
commit37c340e51a91816d520181291254e55ecaa9fc32 (patch)
tree5e3719b19306c542f8fb45b14eade20c843311fd /svdrp.c
parent642f8c0f13f3fea3c98c2938e780d69ee247d3a8 (diff)
downloadvdr-37c340e51a91816d520181291254e55ecaa9fc32.tar.gz
vdr-37c340e51a91816d520181291254e55ecaa9fc32.tar.bz2
Fixed a hangup in SVDRP when the client disappears without sending QUIT
Diffstat (limited to 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/svdrp.c b/svdrp.c
index 625b7f83..c2c65948 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.53 2003/07/26 10:57:33 kls Exp $
+ * $Id: svdrp.c 1.54 2003/08/30 09:35:00 kls Exp $
*/
#include "svdrp.h"
@@ -1104,6 +1104,8 @@ bool cSVDRP::Process(void)
isyslog("lost connection to SVDRP client");
Close();
}
+ else
+ break;
}
if (Setup.SVDRPTimeout && time(NULL) - lastActivity > Setup.SVDRPTimeout) {
isyslog("timeout on SVDRP connection");