Skip to content

Commit

Permalink
fixup: build
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Jan 17, 2025
1 parent 33354c6 commit b4f90b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/core/lib/event_engine/posix_engine/file_descriptors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ IF_POSIX_SOCKET(
addr = EventEngine::ResolvedAddress(peer_addr.address(), len);
return fd;
close_and_error:
FileDescriptorResult result(OperationResultKind::kError, errno);
Close(*fd);
return FileDescriptorResult::Error();
return result;
})

#else // GRPC_POSIX_SOCKETUTILS
Expand Down
4 changes: 0 additions & 4 deletions src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,6 @@ PosixSocketWrapper::CreateAndPrepareTcpClientSocket(

#else // GRPC_POSIX_SOCKET_UTILS_COMMON

absl::StatusOr<int> PosixSocketWrapper::SetSocketRcvLowat(int /*bytes*/) {
grpc_core::Crash("unimplemented");
}

absl::Status PosixSocketWrapper::SetSocketZeroCopy() {
grpc_core::Crash("unimplemented");
}
Expand Down

0 comments on commit b4f90b3

Please sign in to comment.