From 992bf43928c259fd791f16d8639f000195310017 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 22 Jul 2009 17:15:19 +0000 Subject: [Author: dmaclach] Evil bug that ended up with us getting the class instead of an instance passed in to our callback. DELTA=30 (29 added, 0 deleted, 1 changed) R=thomasvl --- Foundation/GTMFileSystemKQueue.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Foundation/GTMFileSystemKQueue.m') diff --git a/Foundation/GTMFileSystemKQueue.m b/Foundation/GTMFileSystemKQueue.m index ad516f7..1db71c1 100644 --- a/Foundation/GTMFileSystemKQueue.m +++ b/Foundation/GTMFileSystemKQueue.m @@ -251,7 +251,7 @@ static void SocketCallBack(CFSocketRef socketref, CFSocketCallBackType type, = [NSInvocation invocationWithMethodSignature:methodSig]; [invocation setTarget:target_]; [invocation setSelector:action_]; - [invocation setArgument:self atIndex:2]; + [invocation setArgument:&self atIndex:2]; [invocation setArgument:&eventFFlags atIndex:3]; [invocation invoke]; } -- cgit v1.2.3