Fixed "function LoadCanDriver() should return library handle instead of 0 if succeeded" bug
authoretisserant
Sun, 13 May 2007 20:16:09 +0200
changeset 197 182008694a32
parent 196 65aa7a664f6f
child 198 1587a69b6ed9
Fixed "function LoadCanDriver() should return library handle instead of 0 if succeeded" bug
drivers/unix/unix.c
--- a/drivers/unix/unix.c	Sun May 13 10:29:50 2007 +0200
+++ b/drivers/unix/unix.c	Sun May 13 20:16:09 2007 +0200
@@ -103,7 +103,7 @@
 	DLSYM(canOpen)
 	DLSYM(canClose)
 
-	return 0;
+	return handle;
 }
 
 #endif