dlsym() can return NULL validly, so we can't use that as the error test.
authorJim McDonough <jmcd@samba.org>
Fri, 17 Jan 2003 21:23:14 +0000 (21:23 +0000)
committerJim McDonough <jmcd@samba.org>
Fri, 17 Jan 2003 21:23:14 +0000 (21:23 +0000)
commit41b1be15bac271116a7096e511cc029685013e1f
tree318f4fb004ddb39d81b4f4d2ec1f4c7d01167521
parentd51e12df78ff8fc721d693fedbd1c633f39edd49
dlsym() can return NULL validly, so we can't use that as the error test.
dlerror() is the correct way to test.
source/lib/module.c