diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-07-26 10:59:19 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-07-26 10:59:19 +0200 |
commit | eb2cd2b73e97ac03cb074c7f3b93aaea6cb4fb82 (patch) | |
tree | 74f16239eb994273322c1463791e4a354be66782 /svdrp.c | |
parent | 1ea8f449534f878f705dbccc845fccb5bc16661c (diff) | |
download | vdr-eb2cd2b73e97ac03cb074c7f3b93aaea6cb4fb82.tar.gz vdr-eb2cd2b73e97ac03cb074c7f3b93aaea6cb4fb82.tar.bz2 |
Fixed an occasional "Broken pipe" error in SVDRP connections
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |