fix compile error

This commit is contained in:
byronhe 2017-05-18 00:28:38 +08:00 committed by GitHub
parent 9efa5f0af7
commit 7991c74543
1 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,8 @@ int loop(void *arg)
} else { } else {
ff_epoll_ctl(epfd, EPOLL_CTL_DEL, events[i].data.fd, NULL); ff_epoll_ctl(epfd, EPOLL_CTL_DEL, events[i].data.fd, NULL);
ff_close( events[i].data.fd); 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 { } else {
fprintf(stderr, "unknown event: %8.8X\n", events[i].events); fprintf(stderr, "unknown event: %8.8X\n", events[i].events);
} }