mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
Fixed error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4639 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
285c78c72c
commit
395af5f397
1 changed files with 2 additions and 4 deletions
|
@ -192,7 +192,6 @@ getAddr(NSString* name, NSString* svc, NSString* pcl, struct sockaddr_in *sin)
|
|||
|
||||
if (descriptor != -1)
|
||||
{
|
||||
if (isNonBlocking != wasNonBlocking)
|
||||
[self setNonBlocking: wasNonBlocking];
|
||||
if (closeOnDealloc == YES)
|
||||
{
|
||||
|
@ -945,7 +944,6 @@ getAddr(NSString* name, NSString* svc, NSString* pcl, struct sockaddr_in *sin)
|
|||
[self ignoreReadDescriptor];
|
||||
[self ignoreWriteDescriptor];
|
||||
|
||||
if (isNonBlocking != wasNonBlocking)
|
||||
[self setNonBlocking: wasNonBlocking];
|
||||
(void)close(descriptor);
|
||||
descriptor = -1;
|
||||
|
|
Loading…
Reference in a new issue