Skip to content

Commit

Permalink
[ebase] when sf8008 handles IPTV services, polls return endless unhan…
Browse files Browse the repository at this point in the history
…dled POLLERR/HUP/NVAL messages - so issue return and null debug message
  • Loading branch information
Twol committed Oct 11, 2023
1 parent 56ed3e8 commit 546119c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/base/ebase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void eTimer::changeInterval(long msek)
else
bActive=true; // then activate Timer

interval = msek; // set new Interval
interval = msek; // set new Interval
nextActivation += interval; // calc nextActivation

context.addTimer(this); // add Timer to context TimerList
Expand Down Expand Up @@ -272,7 +272,8 @@ int eMainloop::processOneEvent(long user_timeout, PyObject **res, ePyObject addi
m_inActivate = 0;
}
if (pfd[i].revents & (POLLERR|POLLHUP|POLLNVAL))
eTrace("[eMainloop::processOneEvent] unhandled POLLERR/HUP/NVAL for fd %d(%d)", pfd[i].fd, pfd[i].revents);
return_reason = 1;
/* eTrace("[eMainloop::processOneEvent] unhandled POLLERR/HUP/NVAL for fd %d(%d)", pfd[i].fd, pfd[i].revents); */
}
}
for (; i < fdcount; ++i)
Expand Down

0 comments on commit 546119c

Please sign in to comment.