(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:
mccallum 1995-03-12 22:27:21 +00:00
parent 35024314e5
commit 1873256a83

View file

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