Index: webrtc/p2p/base/tcpport.cc |
diff --git a/webrtc/p2p/base/tcpport.cc b/webrtc/p2p/base/tcpport.cc |
index 5ccb8108a058b0ab608c7c8b454f10b2882016d9..12a6c3a9fdd9d006980cfb5f70f17255f9b04254 100644 |
--- a/webrtc/p2p/base/tcpport.cc |
+++ b/webrtc/p2p/base/tcpport.cc |
@@ -351,10 +351,10 @@ int TCPConnection::Send(const void* data, size_t size, |
error_ = EWOULDBLOCK; |
return SOCKET_ERROR; |
} |
- sent_packets_total_++; |
+ stats_.sent_total_packets++; |
int sent = socket_->Send(data, size, options); |
if (sent < 0) { |
- sent_packets_discarded_++; |
+ stats_.sent_discarded_packets++; |
error_ = socket_->GetError(); |
} else { |
send_rate_tracker_.AddSamples(sent); |