mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
windows: plugins uv fixes
https://github.com/warmcat/libwebsockets/issues/2617
This commit is contained in:
parent
01765df1ff
commit
609d0b82d8
1 changed files with 4 additions and 2 deletions
|
@ -66,7 +66,7 @@ lws_plat_dlopen(struct lws_plugin **pplugin, const char *libpath,
|
|||
if (uv_dlsym(&lib, sym, &v)) {
|
||||
uv_dlerror(&lib);
|
||||
lwsl_err("%s: Failed to get '%s' on %s: %s\n",
|
||||
__func__, path, dent.name, lib.errmsg);
|
||||
__func__, path, libpath, lib.errmsg);
|
||||
goto bail;
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,9 @@ bail:
|
|||
int
|
||||
lws_plat_destroy_dl(struct lws_plugin *p)
|
||||
{
|
||||
return uv_dlclose(&p->u.lib);
|
||||
uv_dlclose(&p->u.lib);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue