@@ -485,25 +485,28 @@ } } - (BOOL)connection: (OFTCPSocket*)connection didReceiveISO88591Line: (OFString*)line + context: (id)context exception: (OFException*)exception { if (line != nil) { [self processLine: line]; [sock asyncReadLineWithTarget: self selector: @selector(connection: - didReceiveLine: - exception:)]; + didReceiveLine:context: + exception:) + context: nil]; } return NO; } - (BOOL)connection: (OFTCPSocket*)connection didReceiveLine: (OFString*)line + context: (id)context exception: (OFException*)exception { if (line != nil) { [self processLine: line]; return YES; @@ -512,20 +515,22 @@ if ([exception isKindOfClass: [OFInvalidEncodingException class]]) [sock asyncReadLineWithEncoding: OF_STRING_ENCODING_ISO_8859_1 target: self selector: @selector(connection: didReceiveISO88591Line: - exception:)]; + context:exception:) + context: nil]; return NO; } - (void)handleConnection { [sock asyncReadLineWithTarget: self selector: @selector(connection:didReceiveLine: - exception:)]; + context:exception:) + context: nil]; } - (void)dealloc { [sock release];