From ca90e9df83409ccbc3a7d79295718e3572352c36 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 20 Jun 2017 14:01:23 +0200 Subject: Fix teardown --- demo-json-rpc-server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demo-json-rpc-server.c b/demo-json-rpc-server.c index 85b54a9..c8ce29d 100644 --- a/demo-json-rpc-server.c +++ b/demo-json-rpc-server.c @@ -2387,6 +2387,7 @@ listener_add (struct server_context *ctx, const char *host, const char *port, ev_io_start (EV_DEFAULT_ &listener->watcher); listener->watcher.data = listener; listener->create = create; + listener->fd = fd; break; } freeaddrinfo (gai_result); -- cgit v1.2.3-70-g09d2