summaryrefslogtreecommitdiff
path: root/deps/uv/src/unix/dl.c
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2012-06-28 16:17:30 +0200
committerBert Belder <bertbelder@gmail.com>2012-06-28 16:17:56 +0200
commit3ea2a618adb0f8654b07a62bccf2a3473ec4b22d (patch)
treef4eba4a387004b53e08ad02abd5f11759ac201ba /deps/uv/src/unix/dl.c
parent37bdd36d70e86e3a3644bc73349e2f6f18909ea0 (diff)
downloadandroid-node-v8-3ea2a618adb0f8654b07a62bccf2a3473ec4b22d.tar.gz
android-node-v8-3ea2a618adb0f8654b07a62bccf2a3473ec4b22d.tar.bz2
android-node-v8-3ea2a618adb0f8654b07a62bccf2a3473ec4b22d.zip
uv: upgrade to 4a88b3b
Diffstat (limited to 'deps/uv/src/unix/dl.c')
-rw-r--r--deps/uv/src/unix/dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/src/unix/dl.c b/deps/uv/src/unix/dl.c
index 01796e3b8d..9cc830b815 100644
--- a/deps/uv/src/unix/dl.c
+++ b/deps/uv/src/unix/dl.c
@@ -34,7 +34,7 @@ int uv_dlopen(const char* filename, uv_lib_t* lib) {
dlerror(); /* Reset error status. */
lib->errmsg = NULL;
lib->handle = dlopen(filename, RTLD_LAZY);
- return uv__dlerror(lib);
+ return lib->handle ? 0 : uv__dlerror(lib);
}