mirror of https://github.com/F-Stack/f-stack.git
commit
7d25ffc210
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue