SAT>IP: break TEARDOWN poll loop also on ERROR or HUP

This commit is contained in:
Jaroslav Kysela 2014-08-29 16:10:52 +02:00
parent 9eea4812da
commit 24171eb3d6

View file

@ -1270,6 +1270,8 @@ fast_exit:
continue;
break;
}
if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP))
break;
}
}
/* for sure - the second sequence */
@ -1289,6 +1291,8 @@ fast_exit:
continue;
break;
}
if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP))
break;
}
}
}