Merge pull request #10 from byronhe/patch-1

fix compile error
dev
logwang 2017-05-18 10:52:30 +08:00 committed by GitHub
commit 7d25ffc210
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ int loop(void *arg)
} else {
ff_epoll_ctl(epfd, EPOLL_CTL_DEL, events[i].data.fd, NULL);
ff_close( events[i].data.fd);
//fprintf(stderr, "A client has left the server...,fd:%d\n", events[i].data.fd); }
//fprintf(stderr, "A client has left the server...,fd:%d\n", events[i].data.fd);
}
} else {
fprintf(stderr, "unknown event: %8.8X\n", events[i].events);
}