summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http.c2
-rw-r--r--src/http_backend_curl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/http.c b/http.c
index f337e32..0cfd7b0 100644
--- a/http.c
+++ b/http.c
@@ -893,7 +893,7 @@ void* http_dlopen(const char* zName) {
}
void http_dlclose(void* library) {
- dlclose(zName);
+ dlclose(library);
}
void* http_dlsym(void* library, const char* zName) {
diff --git a/src/http_backend_curl.c b/src/http_backend_curl.c
index 5ca2364..9134b42 100644
--- a/src/http_backend_curl.c
+++ b/src/http_backend_curl.c
@@ -29,7 +29,7 @@ void* http_dlopen(const char* zName) {
}
void http_dlclose(void* library) {
- dlclose(zName);
+ dlclose(library);
}
void* http_dlsym(void* library, const char* zName) {