diff options
author | 2016-07-14 11:06:14 -0700 | |
---|---|---|
committer | 2016-07-14 11:06:14 -0700 | |
commit | 75f065d0222b87cf334094fff13f112c4c792754 (patch) | |
tree | 9289f8198aeda93c940debe58d378ef282784777 | |
parent | 4723576a401ec224838b0ccc6d205d58201ab44d (diff) |
Correct direction of inequality
-rw-r--r-- | src/core/lib/iomgr/ev_epoll_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epoll_linux.c b/src/core/lib/iomgr/ev_epoll_linux.c index 4282d01a2b..633d480347 100644 --- a/src/core/lib/iomgr/ev_epoll_linux.c +++ b/src/core/lib/iomgr/ev_epoll_linux.c @@ -517,7 +517,7 @@ static polling_island *polling_island_create(grpc_exec_ctx *exec_ctx, done: if (*error != GRPC_ERROR_NONE) { - if (pi->epoll_fd < 0) { + if (pi->epoll_fd >= 0) { close(pi->epoll_fd); } if (pi->workqueue != NULL) { |