summaryrefslogtreecommitdiff
path: root/sections.c
diff options
context:
space:
mode:
Diffstat (limited to 'sections.c')
-rw-r--r--sections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sections.c b/sections.c
index d3fc2b0d..3b2dbe9b 100644
--- a/sections.c
+++ b/sections.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sections.c 1.6 2004/07/17 14:17:07 kls Exp $
+ * $Id: sections.c 1.7 2004/07/17 14:26:32 kls Exp $
*/
#include "sections.h"
@@ -172,7 +172,7 @@ void cSectionHandler::Action(void)
int oldStatusCount = statusCount;
Unlock();
- if (poll(pfd, NumFilters, 1000) != 0) {
+ if (poll(pfd, NumFilters, 1000) > 0) {
bool DeviceHasLock = device->HasLock();
if (!DeviceHasLock)
usleep(100000);