From 883a9c93798e01fc2825673799f48bf2a0a68d15 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 15 Jun 2009 13:03:16 +0200 Subject: [PATCH 1/1] use POLLPRI instead of POLLHUP --- lib/base/filepush.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/filepush.cpp b/lib/base/filepush.cpp index d43b6e1c..605ec8a8 100644 --- a/lib/base/filepush.cpp +++ b/lib/base/filepush.cpp @@ -192,7 +192,7 @@ void eFilePushThread::thread() struct pollfd pfd; pfd.fd = m_fd_dest; - pfd.events = POLLHUP; + pfd.events = POLLPRI; poll(&pfd, 1, 10000); sleep(5); /* HACK to allow ES buffer to drain */ already_empty = 1; -- 2.30.2