windows another uv_poll_init

Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
Andy Green 2016-04-19 09:10:08 +08:00
parent 1759e32c7b
commit 5f947cdcd9

View file

@ -255,7 +255,7 @@ lws_libuv_accept(struct lws *wsi, int accept_fd)
wsi->w_read.context = context;
uv_poll_init(pt->io_loop_uv, &wsi->w_read.uv_watcher, accept_fd);
uv_poll_init_socket(pt->io_loop_uv, &wsi->w_read.uv_watcher, accept_fd);
}
void