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

Unified Diff: webrtc/base/physicalsocketserver.cc

Issue 2452373002: Testing if 2442743002 is causing problems. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/base.gyp ('k') | webrtc/build/whitespace.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/physicalsocketserver.cc
diff --git a/webrtc/base/physicalsocketserver.cc b/webrtc/base/physicalsocketserver.cc
index 2a48274fa08fcf08de259f75774f6c09ec6ad750..f0dc69fe672b6b0e7e8e004af1637fda063e830d 100644
--- a/webrtc/base/physicalsocketserver.cc
+++ b/webrtc/base/physicalsocketserver.cc
@@ -1580,6 +1580,8 @@ bool PhysicalSocketServer::Wait(int cmsWait, bool process_io) {
WSANETWORKEVENTS wsaEvents;
int err = WSAEnumNetworkEvents(s, events[0], &wsaEvents);
if (err == 0) {
+
+#if LOGGING
{
if ((wsaEvents.lNetworkEvents & FD_READ) &&
wsaEvents.iErrorCode[FD_READ_BIT] != 0) {
@@ -1607,6 +1609,7 @@ bool PhysicalSocketServer::Wait(int cmsWait, bool process_io) {
<< wsaEvents.iErrorCode[FD_CLOSE_BIT];
}
}
+#endif
uint32_t ff = 0;
int errcode = 0;
if (wsaEvents.lNetworkEvents & FD_READ)
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/build/whitespace.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698