mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-28 14:02:27 +01:00
.
This commit is contained in:
parent
c36797d8f1
commit
af397fa6c2
2 changed files with 2 additions and 1 deletions
1
Changes
1
Changes
|
@ -637,3 +637,4 @@ seen. gmtime warning still there
|
|||
regarding retarded rehashes
|
||||
- Added some thread debugging, and fixed a SVS2MODE bug
|
||||
- Fixed a major scan bug caused by stskeeps(TM) lazy-coding
|
||||
- Hmm .. minor s_bsd.c read_message fix
|
||||
|
|
|
@ -1952,7 +1952,7 @@ deadsocket:
|
|||
flush_connections(cptr);
|
||||
if ((length != FLUSH_BUFFER) && IsDead(cptr))
|
||||
goto deadsocket;
|
||||
if ((length > 0) && !FD_ISSET(cptr->fd, &read_set))
|
||||
if ((length > 0) && (cptr->fd >= 0) && !FD_ISSET(cptr->fd, &read_set))
|
||||
continue;
|
||||
nfds--;
|
||||
readcalls++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue