mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(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:
parent
35024314e5
commit
1873256a83
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue