more tidying

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-06-17 11:02:32 +00:00
parent aa2e15e6f5
commit fef9b42c13
3 changed files with 10 additions and 10 deletions

View file

@ -6,6 +6,8 @@ Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSPort.m: ditto
* Source/NSPortNameServer.m: ditto
* Source/NSSerializer.m: ditto
* Source/Port.m: ditto
* Source/TcpPort.m: ditto
Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>

View file

@ -24,7 +24,7 @@
#include <config.h>
#include <base/Port.h>
#include <base/Coder.h> /* for Coding protocol in Object category */
#include <base/NotificationDispatcher.h>
#include <Foundation/NSNotification.h>
#include <Foundation/NSException.h>
@implementation Port

View file

@ -35,13 +35,12 @@
#include <config.h>
#include <base/preface.h>
#include <base/TcpPort.h>
#include <base/Array.h>
#include <base/NotificationDispatcher.h>
#include <base/NSException.h>
#include <Foundation/TcpPort.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSNotification.h>
#include <Foundation/NSException.h>
#include <Foundation/NSRunLoop.h>
#include <Foundation/NSByteOrder.h>
#include <base/Invocation.h>
#include <Foundation/NSData.h>
#include <Foundation/NSDate.h>
#include <Foundation/NSHashTable.h>
@ -1273,8 +1272,7 @@ static NSMapTable* port_number_2_port;
NSNextMapEnumeratorPair (&me, (void*)&sock, (void*)&out_port);
i++)
out_ports[i] = out_port;
return [[[Array alloc] initWithObjects: out_ports count: count]
autorelease];
return [NSArray arrayWithObjects: out_ports count: count];
}
- (unsigned) numberOfConnectedOutPorts
@ -1372,7 +1370,7 @@ static NSMapTable* port_number_2_port;
if (debug_tcp_port)
NSLog(@"%s: Accepted connection from\n %@.\n",
object_get_class_name (self), [op description]);
[NotificationDispatcher
[[NSNotificationCenter defaultCenter]
postNotificationName: InPortAcceptedClientNotification
object: self
userInfo: op];
@ -1554,7 +1552,7 @@ static NSMapTable* port_number_2_port;
#if 0
/* xxx Should this be earlier, so that the notification recievers
can still use _client_sock_2_out_port before the out port P is removed? */
[NotificationDispatcher
[[NSNotificationCenter defaultCenter]
postNotificationName: InPortClientBecameInvalidNotification
object: self
userInfo: p];