ObjFW  Diff

Differences From Artifact [39f30ed249]:

To Artifact [5d44afb3d5]:


213
214
215
216
217
218
219
220
221

222
223
224
225
226
227
228



229
230
231

232
233
234
235
236
213
214
215
216
217
218
219


220


221
222



223
224
225
226
227

228
229
230
231
232
233







-
-
+
-
-


-
-
-
+
+
+


-
+





	    (struct sockaddr*)&_cancelAddr, 8) > 0);
# endif
#endif
}

- (void)OF_processReadBuffers
{
	id const *objects = [_readObjects objects];
	size_t i, count = [_readObjects count];
	for (id object in _readObjects) {

	for (i = 0; i < count; i++) {
		void *pool = objc_autoreleasePoolPush();

		if ([objects[i] isKindOfClass: [OFStream class]] &&
		    [objects[i] hasDataInReadBuffer] &&
		    ![objects[i] OF_isWaitingForDelimiter] &&
		if ([object isKindOfClass: [OFStream class]] &&
		    [object hasDataInReadBuffer] &&
		    ![object OF_isWaitingForDelimiter] &&
		    [_delegate respondsToSelector:
		    @selector(objectIsReadyForReading:)])
			[_delegate objectIsReadyForReading: objects[i]];
			[_delegate objectIsReadyForReading: object];

		objc_autoreleasePoolPop(pool);
	}
}
@end