Merge pull request #11 from ffontaine/master

src/uhttpd.c: fix build without dlopen
main
Jianhui Zhao 2020-10-17 12:23:46 +08:00 committed by GitHub
commit a388b50e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -42,7 +42,9 @@ void conn_free(struct uh_connection *conn);
static void uh_server_free(struct uh_server *srv)
{
struct uh_connection *conn = srv->conns;
#ifdef HAVE_DLOPEN
struct uh_plugin *p = srv->plugins;
#endif
ev_io_stop(srv->loop, &srv->ior);