(initialize): return void.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@121 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-03-12 22:27:21 +00:00
parent ace8226d35
commit 1527e933db

View file

@ -77,14 +77,13 @@ name_to_port_number (const char *name)
@implementation SocketPort @implementation SocketPort
+ initialize + (void) initialize
{ {
if ([self class] == [SocketPort class]) if ([self class] == [SocketPort class])
{ {
socketPortList = [[List alloc] init]; socketPortList = [[List alloc] init];
socketPortListGate = [Lock new]; socketPortListGate = [Lock new];
} }
return self;
} }
+ setDebug: (BOOL)f + setDebug: (BOOL)f
@ -276,7 +275,7 @@ s1.sin_addr.s_addr == s2.sin_addr.s_addr)
int r; int r;
sockport_t a; sockport_t a;
if (![remote isKindOf:[SocketPort class]]) if (![remote isKindOfClass:[SocketPort class]])
[self error:"Trying to send to a non-SocketPort"]; [self error:"Trying to send to a non-SocketPort"];
a = [(SocketPort*)remote sockPort]; a = [(SocketPort*)remote sockPort];
if (socket_port_debug) if (socket_port_debug)