ObjFW  Diff

Differences From Artifact [e64bcd1baf]:

To Artifact [2c5cb8ffaf]:


22
23
24
25
26
27
28





29
30
31
32
33
34
35
@implementation OFAlreadyConnectedException
@synthesize socket = _socket;

+ (instancetype)exceptionWithSocket: (id)socket
{
	return [[[self alloc] initWithSocket: socket] autorelease];
}






- initWithSocket: (id)socket
{
	self = [super init];

	_socket = [socket retain];








>
>
>
>
>







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@implementation OFAlreadyConnectedException
@synthesize socket = _socket;

+ (instancetype)exceptionWithSocket: (id)socket
{
	return [[[self alloc] initWithSocket: socket] autorelease];
}

- init
{
	return [self initWithSocket: nil];
}

- initWithSocket: (id)socket
{
	self = [super init];

	_socket = [socket retain];