balloonwj / flamingo

flamingo 一款高性能轻量级开源即时通讯软件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net模块中PollPoller.cpp中的removeChannel函数中有个笔误

huxingqun opened this issue · comments

在removeChannel函数中有个越界判断的条件
if (0 > idx && idx >= static_cast<int>(pollfds_.size())) return;
这里的“&&”应该改成“||”吧