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

Unified Diff: webrtc/base/ssladapter_unittest.cc

Issue 1944683002: Read recv timestamps from socket (posix only). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix win build. Created 4 years, 8 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
Index: webrtc/base/ssladapter_unittest.cc
diff --git a/webrtc/base/ssladapter_unittest.cc b/webrtc/base/ssladapter_unittest.cc
index 16e5c2ea3227a1a01f2d02826b94bd15885d01d6..3beafda784bc897b692067de85acfb4c404dcd28 100644
--- a/webrtc/base/ssladapter_unittest.cc
+++ b/webrtc/base/ssladapter_unittest.cc
@@ -102,7 +102,8 @@ class SSLAdapterTestDummyClient : public sigslot::has_slots<> {
char buffer[4096] = "";
// Read data received from the server and store it in our internal buffer.
- int read = socket->Recv(buffer, sizeof(buffer) - 1);
+ int64_t timestamp;
+ int read = socket->Recv(buffer, sizeof(buffer) - 1, &timestamp);
if (read != -1) {
buffer[read] = '\0';

Powered by Google App Engine
This is Rietveld 408576698