1
0
Fork 0
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:
dcpng 2022-04-19 06:00:05 +01:00 committed by Andy Green
parent 01765df1ff
commit 609d0b82d8

View file

@ -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