mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 17:10:48 +00:00
revert bad check for closed descriptor
This commit is contained in:
parent
06ff76d882
commit
165864bb65
1 changed files with 2 additions and 2 deletions
|
@ -2561,7 +2561,7 @@ handle_io()
|
|||
/* Look for a descriptor found to be writeable and which
|
||||
* was not closed (due to reading eof etc)
|
||||
*/
|
||||
if (FD_ISSET(i, &wfds) && FD_ISSET(i, &write_fds))
|
||||
if (FD_ISSET(i, &wfds))
|
||||
{
|
||||
if (i == udp_desc)
|
||||
{
|
||||
|
@ -3852,7 +3852,7 @@ int ptype, struct sockaddr_in *addr, unsigned short *p, uptr *v)
|
|||
}
|
||||
port = ntohl(port);
|
||||
|
||||
if (port < 0 || port > 0xffff)
|
||||
if (port > 0xffff)
|
||||
{
|
||||
if (GDO_NAMES == op)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue