summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-07-26 10:59:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-07-26 10:59:19 +0200
commiteb2cd2b73e97ac03cb074c7f3b93aaea6cb4fb82 (patch)
tree74f16239eb994273322c1463791e4a354be66782
parent1ea8f449534f878f705dbccc845fccb5bc16661c (diff)
downloadvdr-eb2cd2b73e97ac03cb074c7f3b93aaea6cb4fb82.tar.gz
vdr-eb2cd2b73e97ac03cb074c7f3b93aaea6cb4fb82.tar.bz2
Fixed an occasional "Broken pipe" error in SVDRP connections
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--svdrp.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 36e375ae..67105bb3 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -518,6 +518,7 @@ Gerhard Steiner <steiner@mail.austria.com>
for fixing resume file handling in case the resume.vdr file can't be written
for reporting a problem with newly created timers in case they are not confirmed
with "Ok"
+ for reporting an occasional "Broken pipe" error in SVDRP connections
Jaakko Hyvätti <jaakko@hyvatti.iki.fi>
for translating OSD texts to the Finnish language
diff --git a/HISTORY b/HISTORY
index 504f00c5..6988bc94 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2271,3 +2271,5 @@ Video Disk Recorder Revision History
- Added missing I18N entry for "Ppid" (thanks to Rolf Ahrenberg).
- Fixed handling the color buttons in the "Edit channel" menu (thanks to Thomas
Keil for reporting this one).
+- Fixed an occasional "Broken pipe" error in SVDRP connections (thanks to Gerhard
+ Steiner for reporting this one).
diff --git a/svdrp.c b/svdrp.c
index e9f22161..625b7f83 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.52 2003/06/06 13:30:52 kls Exp $
+ * $Id: svdrp.c 1.53 2003/07/26 10:57:33 kls Exp $
*/
#include "svdrp.h"
@@ -1100,7 +1100,7 @@ bool cSVDRP::Process(void)
}
lastActivity = time(NULL);
}
- else if (r <= 0) {
+ else if (r < 0) {
isyslog("lost connection to SVDRP client");
Close();
}