epggrab: remove epggrab_running check from _epggrab_socket_thread()
... otherwise the loop will be terminated before epggrab_running is set to 1 at startup
This commit is contained in:
parent
59242268bd
commit
1dc009a94d
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ static void *_epggrab_socket_thread ( void *p )
|
|||
epggrab_module_ext_t *mod = (epggrab_module_ext_t*)p;
|
||||
tvhlog(LOG_INFO, mod->id, "external socket enabled");
|
||||
|
||||
while ( epggrab_running && mod->enabled && mod->sock ) {
|
||||
while ( mod->enabled && mod->sock ) {
|
||||
tvhlog(LOG_DEBUG, mod->id, "waiting for connection");
|
||||
s = accept(mod->sock, NULL, NULL);
|
||||
if (s <= 0) continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue