@@ -48,10 +48,11 @@ #import "OFListenFailedException.h" #import "OFNotConnectedException.h" #import "OFNotImplementedException.h" #import "OFSetOptionFailedException.h" +#import "autorelease.h" #import "macros.h" #ifndef INVALID_SOCKET # define INVALID_SOCKET -1 #endif @@ -296,11 +297,11 @@ { void *pool = objc_autoreleasePoolPush(); OFRunLoop *runLoop = [OFRunLoop currentRunLoop]; [[OFThread threadWithObject: self - block: ^ (id s) { + block: ^ id (id s) { void *pool2 = objc_autoreleasePoolPush(); OFThread *connectThread = [OFThread currentThread]; OFTimer *timer; [s connectToHost: host