Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: webrtc/base/asynctcpsocket.cc

Issue 1944683002: Read recv timestamps from socket (posix only). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/asyncsocket.cc ('k') | webrtc/base/asyncudpsocket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/asynctcpsocket.cc
diff --git a/webrtc/base/asynctcpsocket.cc b/webrtc/base/asynctcpsocket.cc
index 9ba46d7abc95882dad3de6b05599223f43891271..60ac7b3159714d6d603b6f386f3de0d89475b5cc 100644
--- a/webrtc/base/asynctcpsocket.cc
+++ b/webrtc/base/asynctcpsocket.cc
@@ -208,7 +208,8 @@ void AsyncTCPSocketBase::OnReadEvent(AsyncSocket* socket) {
free_size = inbuf_.capacity() - inbuf_.size();
}
- int len = socket_->Recv(inbuf_.data() + inbuf_.size(), free_size);
+ int len =
+ socket_->Recv(inbuf_.data() + inbuf_.size(), free_size, nullptr);
if (len < 0) {
// TODO(stefan): Do something better like forwarding the error to the
// user.
« no previous file with comments | « webrtc/base/asyncsocket.cc ('k') | webrtc/base/asyncudpsocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698