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:
Richard Frith-MacDonald 2006-09-09 17:06:16 +00:00
parent f8cd305a8f
commit 7d78452702

View file

@ -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];
}