From 14f1c352592bbae8439983017b5e73b415984e61 Mon Sep 17 00:00:00 2001 From: Yash Tibrewal Date: Wed, 21 Mar 2018 13:40:36 -0700 Subject: [PATCH] Remove unnecessary assert on size check of address length after conversion to socklen_t --- src/core/lib/iomgr/tcp_client_posix.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/lib/iomgr/tcp_client_posix.cc b/src/core/lib/iomgr/tcp_client_posix.cc index ba943d302aa..9f19b833dab 100644 --- a/src/core/lib/iomgr/tcp_client_posix.cc +++ b/src/core/lib/iomgr/tcp_client_posix.cc @@ -293,7 +293,6 @@ void grpc_tcp_client_create_from_prepared_fd( int err; async_connect* ac; do { - GPR_ASSERT(addr->len < ~(socklen_t)0); err = connect(fd, reinterpret_cast(addr->addr), addr->len); } while (err < 0 && errno == EINTR);