More appropriate phyOnUnixClose handling

This commit is contained in:
Joseph Henry 2015-11-02 12:50:32 -08:00
parent 6338a4933b
commit bb912cff30
2 changed files with 18 additions and 15 deletions

View file

@ -814,7 +814,6 @@ public:
tv.tv_sec = (long)(timeout / 1000);
tv.tv_usec = (long)((timeout % 1000) * 1000);
//fprintf(stderr, "Phy.poll()\n");
if (::select((int)_nfds + 1,&rfds,&wfds,&efds,(timeout > 0) ? &tv : (struct timeval *)0) <= 0)
return;