mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-20 15:53:41 +00:00
auto commit
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
+1
-1
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user