mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +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,8 +192,7 @@ getAddr(NSString* name, NSString* svc, NSString* pcl, struct sockaddr_in *sin)
|
||||||
|
|
||||||
if (descriptor != -1)
|
if (descriptor != -1)
|
||||||
{
|
{
|
||||||
if (isNonBlocking != wasNonBlocking)
|
[self setNonBlocking: wasNonBlocking];
|
||||||
[self setNonBlocking: wasNonBlocking];
|
|
||||||
if (closeOnDealloc == YES)
|
if (closeOnDealloc == YES)
|
||||||
{
|
{
|
||||||
close(descriptor);
|
close(descriptor);
|
||||||
|
@ -945,8 +944,7 @@ getAddr(NSString* name, NSString* svc, NSString* pcl, struct sockaddr_in *sin)
|
||||||
[self ignoreReadDescriptor];
|
[self ignoreReadDescriptor];
|
||||||
[self ignoreWriteDescriptor];
|
[self ignoreWriteDescriptor];
|
||||||
|
|
||||||
if (isNonBlocking != wasNonBlocking)
|
[self setNonBlocking: wasNonBlocking];
|
||||||
[self setNonBlocking: wasNonBlocking];
|
|
||||||
(void)close(descriptor);
|
(void)close(descriptor);
|
||||||
descriptor = -1;
|
descriptor = -1;
|
||||||
acceptOK = NO;
|
acceptOK = NO;
|
||||||
|
|
Loading…
Reference in a new issue