@@ -798,15 +798,15 @@ [acceptedSocket asyncReadLine]; return true; } -- (void)stream: (OF_KINDOF(OFStream *))stream - didFailWithException: (id)exception +- (void)stream: (OF_KINDOF(OFStream *))stream + didFailToAcceptWithException: (id)exception { if ([_delegate respondsToSelector: @selector(server:didReceiveExceptionOnListeningSocket:)]) if ([_delegate server: self didReceiveExceptionOnListeningSocket: exception]) [stream asyncAccept]; } @end