aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMFileSystemKQueue.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-07-22 17:15:19 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-07-22 17:15:19 +0000
commit992bf43928c259fd791f16d8639f000195310017 (patch)
tree1da9664048fe86da3ee7b76741448e81fdc8a91e /Foundation/GTMFileSystemKQueue.m
parenta255d21f63b45fed9e15fbee3708ffadd3b0c443 (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.m2
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];
}