aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_posix.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-11-29 00:56:22 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-11-29 00:56:22 -0800
commitfe4ef31ac28f702755c67cb0d79140bc9cbaa552 (patch)
tree9fbca4aa4085ad103ac1f7a7c86e2f5781b14836 /src/core/lib/iomgr/tcp_posix.cc
parente57f8aebcb343c36662da042d441a0dfceddbf4c (diff)
Do not add the TCP buffer length.
Diffstat (limited to 'src/core/lib/iomgr/tcp_posix.cc')
-rw-r--r--src/core/lib/iomgr/tcp_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_posix.cc b/src/core/lib/iomgr/tcp_posix.cc
index 8f3403473e..ee339cdfc4 100644
--- a/src/core/lib/iomgr/tcp_posix.cc
+++ b/src/core/lib/iomgr/tcp_posix.cc
@@ -635,7 +635,7 @@ static bool tcp_write_with_timestamps(grpc_tcp* tcp, struct msghdr* msg,
gpr_mu_lock(&tcp->tb_mu);
grpc_core::TracedBuffer::AddNewEntry(
&tcp->tb_head, static_cast<uint32_t>(tcp->bytes_counter + length),
- static_cast<uint32_t>(length), tcp->outgoing_buffer_arg);
+ tcp->outgoing_buffer_arg);
gpr_mu_unlock(&tcp->tb_mu);
tcp->outgoing_buffer_arg = nullptr;
}