Permalink
Browse files

The fall back in pl_imp_removeBlock() calls the function recursively …

…instead of calling Apple's version.
  • Loading branch information...
1 parent 829fe1e commit 9e52f3826629f7697567f57e3778dc08ca5b332d @PsychoH13 PsychoH13 committed Aug 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/blockimp.c
View
@@ -93,8 +93,8 @@ void *pl_imp_getBlock(IMP anImp) {
BOOL pl_imp_removeBlock(IMP anImp) {
#if SUPPORT_APPLE_FALLBACK
/* Prefer Apple's implementation */
- if (&pl_imp_removeBlock != NULL)
- return pl_imp_removeBlock(anImp);
+ if (&imp_removeBlock != NULL)
+ return imp_removeBlock(anImp);
#endif
/* Fetch the config data */

0 comments on commit 9e52f38

Please sign in to comment.