ObjFW  Diff

Differences From Artifact [934b14dab9]:

To Artifact [55b7414608]:


19
20
21
22
23
24
25
26
27
28



29
30
31
32



33
34
35
36
37
38
39
19
20
21
22
23
24
25



26
27
28
29



30
31
32
33
34
35
36
37
38
39







-
-
-
+
+
+

-
-
-
+
+
+







#import "OFAddressTranslationFailedException.h"
#import "OFString.h"
#import "OFTCPSocket.h"

#import "common.h"

@implementation OFAddressTranslationFailedException
+ newWithClass: (Class)class_
	socket: (OFTCPSocket*)socket
	  host: (OFString*)host
+ exceptionWithClass: (Class)class_
	      socket: (OFTCPSocket*)socket
		host: (OFString*)host
{
	return [[self alloc] initWithClass: class_
				    socket: socket
				      host: host];
	return [[[self alloc] initWithClass: class_
				     socket: socket
				       host: host] autorelease];
}

- initWithClass: (Class)class_
{
	self = [super initWithClass: class_];

	errNo = GET_AT_ERRNO;