mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
95d9e13da4
commit
fc263d245a
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…
Add table
Add a link
Reference in a new issue