Ignore:
Timestamp:
May 30, 2013 7:01:11 AM (11 years ago)
Author:
ming
Message:

Re #1664: Fixed wrong handling of poll error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ioqueue_epoll.c

    r4515 r4528  
    762762                queue[processed].event_type = EXCEPTION_EVENT; 
    763763                ++processed; 
    764             } else if (!(events[i].events & EPOLLERR) && 
    765                        (key_has_pending_read(h) || key_has_pending_accept(h))) { 
     764            } else if (key_has_pending_read(h) || key_has_pending_accept(h)) { 
    766765#if PJ_IOQUEUE_HAS_SAFE_UNREG 
    767766                increment_counter(h); 
Note: See TracChangeset for help on using the changeset viewer.