Changeset 4888 for branches/erijo-dev

Show
Ignore:
Timestamp:
04/12/07 04:51:39 (20 months ago)
Author:
erijo
Message:

Remove all instances when removing a fd.

Location:
branches/erijo-dev/licq/src/event
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/erijo-dev/licq/src/event/eventloop.cpp

    r4883 r4888  
    5959} // namespace Licq 
    6060 
    61 // *** TEventHandler *** 
     61// *** TEventFdHandler *** 
    6262 
    6363void Licq::TEventLoopImpl::TEventFdHandler::onFileDescriptor(int fd) 
  • branches/erijo-dev/licq/src/event/fdset.cpp

    r4887 r4888  
    9898  { 
    9999    if ((*it)->Fd == fd) 
    100     { 
    101100      RemoveFds.push_back(*it); 
    102       addRemoveFds(); 
    103       return; 
    104     } 
    105101  } 
    106102 
     
    111107      delete *it; 
    112108      AddFds.erase(it); 
    113       return; 
    114109    } 
    115110  } 
     111 
     112  addRemoveFds(); 
    116113} 
    117114