ObjFW  Diff

Differences From Artifact [362d0afa20]:

To Artifact [58a22b0050]:


54
55
56
57
58
59
60
61
62


63
64
65

66
67
68
69
70
71

72
73
74
75
76
77
78
79
54
55
56
57
58
59
60


61
62



63






64

65
66
67
68
69
70
71







-
-
+
+
-
-
-
+
-
-
-
-
-
-
+
-







	OF_INVALID_INIT_METHOD
}

- initWithHost: (OFString *)host
	  port: (uint16_t)port
	socket: (id)socket
{
	self = [super init];

	return [self initWithHost: host
			     port: port
	@try {
		_host = [host copy];
		_socket = [socket retain];
			   socket: socket
		_port = port;
	} @catch (id e) {
		[self release];
		@throw e;
	}

			    errNo: 0];
	return self;
}

- initWithHost: (OFString *)host
	  port: (uint16_t)port
	socket: (id)socket
	 errNo: (int)errNo
{