Merge pull request #11 from ffontaine/master
src/uhttpd.c: fix build without dlopen
This commit is contained in:
1 file changed
+2
@@ -42,7 +42,9 @@ void conn_free(struct uh_connection *conn);
|
|||||||
static void uh_server_free(struct uh_server *srv)
|
static void uh_server_free(struct uh_server *srv)
|
||||||
{
|
{
|
||||||
struct uh_connection *conn = srv->conns;
|
struct uh_connection *conn = srv->conns;
|
||||||
|
#ifdef HAVE_DLOPEN
|
||||||
struct uh_plugin *p = srv->plugins;
|
struct uh_plugin *p = srv->plugins;
|
||||||
|
#endif
|
||||||
|
|
||||||
ev_io_stop(srv->loop, &srv->ior);
|
ev_io_stop(srv->loop, &srv->ior);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user