mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-29 02:43:43 +00:00
fix warnings
This commit is contained in:
+1
-1
@@ -722,7 +722,7 @@ int main (int argc, char **argv) {
|
||||
|
||||
// Setup proxy context
|
||||
struct listen_ctx listen_ctx;
|
||||
listen_ctx.timeout = timeout;
|
||||
listen_ctx.timeout = atoi(timeout);
|
||||
listen_ctx.fd = listenfd;
|
||||
|
||||
ev_io_init (&listen_ctx.io, accept_cb, listenfd, EV_READ);
|
||||
|
||||
Reference in New Issue
Block a user