auto commit

This commit is contained in:
CyC2018 2020-11-01 23:40:55 +08:00
parent 66e2c7afef
commit 3135fbf05d
2 changed files with 2 additions and 2 deletions
docs/notes
notes

@ -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 )
{