Fix teardown

This commit is contained in:
Přemysl Eric Janouch 2017-06-20 14:01:23 +02:00
parent 419147beec
commit ca90e9df83
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 0 deletions

View File

@ -2387,6 +2387,7 @@ listener_add (struct server_context *ctx, const char *host, const char *port,
ev_io_start (EV_DEFAULT_ &listener->watcher); ev_io_start (EV_DEFAULT_ &listener->watcher);
listener->watcher.data = listener; listener->watcher.data = listener;
listener->create = create; listener->create = create;
listener->fd = fd;
break; break;
} }
freeaddrinfo (gai_result); freeaddrinfo (gai_result);