diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-07-22 17:15:19 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-07-22 17:15:19 +0000 |
commit | 992bf43928c259fd791f16d8639f000195310017 (patch) | |
tree | 1da9664048fe86da3ee7b76741448e81fdc8a91e /Foundation/GTMFileSystemKQueue.m | |
parent | a255d21f63b45fed9e15fbee3708ffadd3b0c443 (diff) |
[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
Diffstat (limited to 'Foundation/GTMFileSystemKQueue.m')
-rw-r--r-- | Foundation/GTMFileSystemKQueue.m | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |