mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Tidied last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23443 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f8cd305a8f
commit
7d78452702
1 changed files with 3 additions and 3 deletions
|
@ -204,10 +204,10 @@ static Class messagePortClass = 0;
|
|||
p = [[self alloc] initWithName: name];
|
||||
}
|
||||
M_UNLOCK(messagePortLock);
|
||||
if ([self _setupSendPort] == NO)
|
||||
if ([p _setupSendPort] == NO)
|
||||
{
|
||||
NSLog(@"unable to access mailslot '%@' - %s",
|
||||
p->name, GSLastErrorStr(errno));
|
||||
[p name], GSLastErrorStr(errno));
|
||||
DESTROY(p);
|
||||
}
|
||||
return p;
|
||||
|
@ -939,7 +939,7 @@ again:
|
|||
M_LOCK(messagePortLock);
|
||||
if (NSDecrementExtraRefCountWasZero(self))
|
||||
{
|
||||
NSMapRemove(ports, (void*)this->name);
|
||||
NSMapRemove(ports, (void*)[self name]);
|
||||
M_UNLOCK(messagePortLock);
|
||||
[self dealloc];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue