diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-29 00:56:22 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-29 00:56:22 -0800 |
commit | fe4ef31ac28f702755c67cb0d79140bc9cbaa552 (patch) | |
tree | 9fbca4aa4085ad103ac1f7a7c86e2f5781b14836 /src/core/lib/iomgr/tcp_posix.cc | |
parent | e57f8aebcb343c36662da042d441a0dfceddbf4c (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.cc | 2 |
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; } |