Changeset 1091
- Timestamp:
- 09/13/07 21:30:30 (1 year ago)
- Files:
-
- trunk/pdns/pdns/portsmplexer.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pdns/pdns/portsmplexer.cc
r737 r1091 92 92 gettimeofday(now,0); 93 93 94 if(ret < 0 && errno!=EINTR && errno!=ETIME) 95 throw FDMultiplexerException("completion port_getn returned error: "+stringerror()); 94 if(ret < 0) { 95 if(errno!=EINTR && errno!=ETIME) 96 throw FDMultiplexerException("completion port_getn returned error: "+stringerror()); 97 // EINTR and ETIME are not really errors 98 return 0; 99 } 96 100 97 if( (ret < 0 && errno==ETIME) || numevents==0) // nothing101 if(!numevents) // nothing 98 102 return 0; 99 103