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

Unified Diff: net/udp/udp_socket_win.cc

Issue 211213003: Fix spelling in histogtrams.xml;comment in header; format in cc file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: net/udp/udp_socket_win.cc
diff --git a/net/udp/udp_socket_win.cc b/net/udp/udp_socket_win.cc
index 5c8bff4a5409fa094e439f9e4a0d520ebbf5578f..c3723a8d314bc241468e05ccb30e4d2316b13eab 100644
--- a/net/udp/udp_socket_win.cc
+++ b/net/udp/udp_socket_win.cc
@@ -391,7 +391,7 @@ int UDPSocketWin::CreateSocket(int addr_family) {
bool UDPSocketWin::SetReceiveBufferSize(int32 size) {
DCHECK(CalledOnValidThread());
setsockopt(socket_, SOL_SOCKET, SO_RCVBUF,
- reinterpret_cast<const char*>(&size), sizeof(size));
wtc 2014/03/25 17:27:47 The indentation of this should wait until the othe
+ reinterpret_cast<const char*>(&size), sizeof(size));
// If the setsockopt fails, but the buffer is big enough, we will return
// success. It is not worth testing the return value as we still need to check
// via getsockopt anyway according to Windows documentation.

Powered by Google App Engine
This is Rietveld 408576698