Skip to content

Commit

Permalink
Merge pull request #10 from byronhe/patch-1
Browse files Browse the repository at this point in the history
fix compile error
  • Loading branch information
whl739 committed May 18, 2017
2 parents 9efa5f0 + 7991c74 commit 7d25ffc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/main_epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ int loop(void *arg)
} else {
ff_epoll_ctl(epfd, EPOLL_CTL_DEL, events[i].data.fd, NULL);
ff_close( events[i].data.fd);
//fprintf(stderr, "A client has left the server...,fd:%d\n", events[i].data.fd); }
//fprintf(stderr, "A client has left the server...,fd:%d\n", events[i].data.fd);
}
} else {
fprintf(stderr, "unknown event: %8.8X\n", events[i].events);
}
Expand Down

0 comments on commit 7d25ffc

Please sign in to comment.