Fixed another closure bug. Updated debug levels

This commit is contained in:
Joseph Henry 2015-11-02 12:30:18 -08:00
commit 6338a4933b
5 changed files with 71 additions and 40 deletions

View file

@ -814,6 +814,7 @@ 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;