From cc81bf673f5ab54f943b288bcf08f97556b584d1 Mon Sep 17 00:00:00 2001 From: etisserant Date: Sun, 13 May 2007 18:16:09 +0000 Subject: [PATCH] Fixed "function LoadCanDriver() should return library handle instead of 0 if succeeded" bug --- drivers/unix/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/unix/unix.c b/drivers/unix/unix.c index a1f5061..2d4486f 100644 --- a/drivers/unix/unix.c +++ b/drivers/unix/unix.c @@ -103,7 +103,7 @@ LIB_HANDLE LoadCanDriver(char* driver_name) DLSYM(canOpen) DLSYM(canClose) - return 0; + return handle; } #endif -- 2.39.2