fix warnings

This commit is contained in:
Max Lv
2013-04-02 15:23:44 +08:00
parent 5419230004
commit e33a82ff74
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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);