@@ -518,12 +518,12 @@ forRequest: _request]; return false; } } -- (bool)socket: (OFTCPSocket *)socket - didWriteRequest: (const void *)request +- (size_t)socket: (OFTCPSocket *)socket + didWriteRequest: (const void **)request length: (size_t)length context: (id)context exception: (id)exception { OFData *body; @@ -548,30 +548,30 @@ length: [body count] * [body itemSize] target: self selector: @selector(socket:didWriteBody:length: context:exception:) context: nil]; - return false; + return 0; } else return [self socket: socket didWriteBody: NULL length: 0 context: nil exception: nil]; } -- (bool)socket: (OFTCPSocket *)socket - didWriteBody: (const void *)body - length: (size_t)length - context: (id)context - exception: (id)exception +- (size_t)socket: (OFTCPSocket *)socket + didWriteBody: (const void **)body + length: (size_t)length + context: (id)context + exception: (id)exception { [socket asyncReadLineWithTarget: self selector: @selector(socket:didReadLine:context: exception:) context: nil]; - return false; + return 0; } - (void)handleSocket: (OFTCPSocket *)socket { /*