Changeset 375

Show
Ignore:
Timestamp:
06/08/07 10:25:24 (2 years ago)
Author:
blackhedd
Message:

tweak to the dying-socket handler

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ext/em.cpp

    r374 r375  
    392392                                        int e = epoll_ctl (epfd, EPOLL_CTL_DEL, ed->GetSocket(), ed->GetEpollEvent()); 
    393393                                        // ENOENT is not an error because the socket may be already closed when we get here. 
    394                                         if (e) { 
     394                                        if (e && (e != ENOENT)) { 
    395395                                                char buf [200]; 
    396396                                                snprintf (buf, sizeof(buf)-1, "unable to delete epoll event: %s", strerror(errno));