ObjFW  Diff

Differences From Artifact [b569f752f9]:

To Artifact [8eaed27d7d]:


226
227
228
229
230
231
232



233
234
235
236
237
238
239
	[_socketAddresses release];

	[super dealloc];
}

- (void)didConnect
{



#ifdef OF_HAVE_BLOCKS
	if (_block != NULL)
		_block(_socket, _exception);
	else {
#endif
		void (*func)(id, SEL, OFTCPSocket *, id, id) =
		    (void (*)(id, SEL, OFTCPSocket *, id, id))







>
>
>







226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
	[_socketAddresses release];

	[super dealloc];
}

- (void)didConnect
{
	if (_exception == nil)
		[_socket setBlocking: true];

#ifdef OF_HAVE_BLOCKS
	if (_block != NULL)
		_block(_socket, _exception);
	else {
#endif
		void (*func)(id, SEL, OFTCPSocket *, id, id) =
		    (void (*)(id, SEL, OFTCPSocket *, id, id))