From 5fe2b9a9be96bae50e3fdda9fade7d907fcf7d0b Mon Sep 17 00:00:00 2001 From: Jeremy Roach Date: Tue, 24 Jun 2008 20:44:08 -0500 Subject: [PATCH] test handle instead of pointer to local in ffi --- shotgun/lib/subtend/ffi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/shotgun/lib/subtend/ffi.c b/shotgun/lib/subtend/ffi.c index 69a96c4..874b738 100644 --- a/shotgun/lib/subtend/ffi.c +++ b/shotgun/lib/subtend/ffi.c @@ -60,7 +60,7 @@ static void* ffi_load_function_from_dso(STATE, const OBJECT library, const OBJEC lib = &l; /* This name not found or unable to open. Error in ffi_dlerror(). */ - if(!lib) { + if(!*lib) { #ifdef __APPLE_CC__ if(!tried_other_suffix) { tried_other_suffix = TRUE; -- 1.5.4