Skip to content

Commit 9427d34

Browse files
committed
Fix merge issue
1 parent 59a42eb commit 9427d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolbelt/fd.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ absl::StatusOr<ssize_t> FileDescriptor::Read(void *buffer, size_t length,
4040
}
4141
// If we are nonblocking yield the coroutine now. When we
4242
// are resumed we can write to the socket again.
43-
if (!data_->non_blocking_) {
43+
if (!data_->nonblocking) {
4444
int fd = c->Wait(Fd(), POLLIN);
4545
if (fd != Fd()) {
4646
return absl::InternalError(absl::StrFormat(
@@ -83,7 +83,7 @@ absl::StatusOr<ssize_t> FileDescriptor::Write(const void *buffer, size_t length,
8383
}
8484
// If we are nonblocking yield the coroutine now. When we
8585
// are resumed we can write to the socket again.
86-
if (!data_->non_blocking_) {
86+
if (!data_->nonblocking) {
8787
int fd = c->Wait(Fd(), POLLOUT);
8888
if (fd != Fd()) {
8989
return absl::InternalError(absl::StrFormat(

0 commit comments

Comments
 (0)