mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
revert
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36389 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
50e7207673
commit
16df74b87a
1 changed files with 3 additions and 3 deletions
|
@ -1722,8 +1722,8 @@ setNonBlocking(SOCKET fd)
|
|||
close((intptr_t)_loopID);
|
||||
else
|
||||
shutdown((intptr_t)_loopID, SHUT_RD);
|
||||
_loopID = (void*)(intptr_t)-1;
|
||||
[super close];
|
||||
_loopID = (void*)(intptr_t)-1;
|
||||
#endif
|
||||
_sock = INVALID_SOCKET;
|
||||
}
|
||||
|
@ -2196,8 +2196,8 @@ setNonBlocking(SOCKET fd)
|
|||
close((intptr_t)_loopID);
|
||||
else
|
||||
shutdown((intptr_t)_loopID, SHUT_WR);
|
||||
_loopID = (void*)(intptr_t)-1;
|
||||
[super close];
|
||||
_loopID = (void*)(intptr_t)-1;
|
||||
#endif
|
||||
_sock = INVALID_SOCKET;
|
||||
}
|
||||
|
@ -2500,8 +2500,8 @@ setNonBlocking(SOCKET fd)
|
|||
if (_loopID != (void*)(intptr_t)-1)
|
||||
{
|
||||
close((intptr_t)_loopID);
|
||||
_loopID = (void*)(intptr_t)-1;
|
||||
[super close];
|
||||
_loopID = (void*)(intptr_t)-1;
|
||||
}
|
||||
#endif
|
||||
_sock = INVALID_SOCKET;
|
||||
|
|
Loading…
Reference in a new issue