mirror of https://github.com/CyC2018/CS-Notes.git
auto commit
This commit is contained in:
parent
66e2c7afef
commit
3135fbf05d
|
|
@ -273,7 +273,7 @@ else if ( ret == 0 )
|
|||
else
|
||||
{
|
||||
// Check if any events detected
|
||||
for ( int i = 0; i < ret; i++ )
|
||||
for ( int i = 0; i < ready; i++ )
|
||||
{
|
||||
if ( pevents[i].events & EPOLLIN )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ else if ( ret == 0 )
|
|||
else
|
||||
{
|
||||
// Check if any events detected
|
||||
for ( int i = 0; i < ret; i++ )
|
||||
for ( int i = 0; i < ready; i++ )
|
||||
{
|
||||
if ( pevents[i].events & EPOLLIN )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue