diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-27 17:18:19 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-27 17:18:19 -0800 |
commit | 28ad1bd28e0ea9b372089333c739a2f4746e99c2 (patch) | |
tree | d618b1df21668b1fa639cce929c50f59ec451bc4 /src/core/lib | |
parent | fe9ba9adf8429687ef3d524ec8fc91a18e03f625 (diff) |
Use grpc_event_engine_can_track_errors
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/iomgr/ev_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/ev_posix.cc b/src/core/lib/iomgr/ev_posix.cc index ef23589480..6f6d134ced 100644 --- a/src/core/lib/iomgr/ev_posix.cc +++ b/src/core/lib/iomgr/ev_posix.cc @@ -247,8 +247,8 @@ bool grpc_event_engine_can_track_errors(void) { grpc_fd* grpc_fd_create(int fd, const char* name, bool track_err) { GRPC_POLLING_API_TRACE("fd_create(%d, %s, %d)", fd, name, track_err); GRPC_FD_TRACE("fd_create(%d, %s, %d)", fd, name, track_err); - return g_event_engine->fd_create(fd, name, - track_err && g_event_engine->can_track_err); + return g_event_engine->fd_create( + fd, name, track_err && grpc_event_engine_can_track_errors()); } int grpc_fd_wrapped_fd(grpc_fd* fd) { |