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

Unified Diff: runtime/bin/secure_socket.cc

Issue 16514010: Add NetworkAdaptor to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add support for win, mac and android. Created 7 years, 6 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: runtime/bin/secure_socket.cc
diff --git a/runtime/bin/secure_socket.cc b/runtime/bin/secure_socket.cc
index e4fab51ee2973a3e4e1f7e0e6c772c515bcc2253..9d3fe1a3e7b0289c56c47b7a6b33a7ae6ac96463 100644
--- a/runtime/bin/secure_socket.cc
+++ b/runtime/bin/secure_socket.cc
@@ -713,7 +713,7 @@ void SSLFilter::Connect(const char* host_name,
// documentation.
PRNetAddr peername;
memset(&peername, 0, sizeof(peername));
- intptr_t len = SocketAddress::GetAddrLength(*raw_addr);
+ intptr_t len = SocketAddress::GetAddrLength(raw_addr);
ASSERT(static_cast<size_t>(len) <= sizeof(peername));
memmove(&peername, &raw_addr->addr, len);
« no previous file with comments | « runtime/bin/dbg_connection.cc ('k') | runtime/bin/socket.h » ('j') | runtime/bin/socket_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698