Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IPTV: Do not show poll() error for EAGAIN
  • Loading branch information
perexg committed May 10, 2015
1 parent fe67098 commit 7317e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/iptv/iptv.c
Expand Up @@ -307,7 +307,7 @@ iptv_input_thread ( void *aux )
while ( tvheadend_running ) {
nfds = tvhpoll_wait(iptv_poll, &ev, 1, -1);
if ( nfds < 0 ) {
if (tvheadend_running) {
if (tvheadend_running && !ERRNO_AGAIN(errno)) {
tvhlog(LOG_ERR, "iptv", "poll() error %s, sleeping 1 second",
strerror(errno));
sleep(1);
Expand Down

0 comments on commit 7317e3f

Please sign in to comment.