libevent
libevent copied to clipboard
26-简单的epoll服务器文件中代码有误
服务端代码第66行
my_events = (epoll_event *)malloc(sizeof(struct epoll_event) * EPOLL_MAX_NUM);
应改为
my_events = (struct epoll_event *)malloc(sizeof(struct epoll_event) * EPOLL_MAX_NUM);
代码纠正