ObjFW  Diff

Differences From Artifact [e57d0397dd]:

To Artifact [8d03fd4bac]:


218
219
220
221
222
223
224


225
226
227
228

229
230
231
232
233
234
235
236
237
238
218
219
220
221
222
223
224
225
226
227
228
229

230
231
232

233
234
235
236
237
238
239







+
+



-
+


-







#endif
}

- (void)of_socketDidConnect: (OFTCPSocket *)sock
		  exception: (id)exception
{
	if (exception != nil) {
		[sock of_closeSocket];

		if (_socketAddressesIndex >= _socketAddresses.count) {
			_exception = [exception retain];
			[self didConnect];
		} else {
		} else
			[self tryNextAddressWithRunLoopMode:
			    [OFRunLoop currentRunLoop].currentMode];
		}

		return;
	}

	if (_SOCKS5Host != nil)
		[self sendSOCKS5Request];
	else