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

Unified Diff: runtime/bin/socket_win.cc

Issue 17601011: Fix InternetAddress.resolve impl and test for Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « no previous file | tests/standalone/io/internet_address_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_win.cc
diff --git a/runtime/bin/socket_win.cc b/runtime/bin/socket_win.cc
index bbfbe55aa22c8cb8aa035d1fd90f0eb6f198a3e2..f24cfc591dc0642fe3cf92ac643ee017742aa8ef 100644
--- a/runtime/bin/socket_win.cc
+++ b/runtime/bin/socket_win.cc
@@ -259,14 +259,13 @@ bool Socket::ReverseLookup(RawAddr addr,
intptr_t host_len,
OSError** os_error) {
ASSERT(host_len >= NI_MAXHOST);
- int status = TEMP_FAILURE_RETRY(getnameinfo(
- &addr.addr,
- SocketAddress::GetAddrLength(&addr),
- host,
- host_len,
- NULL,
- 0,
- NI_NAMEREQD));
+ int status = getnameinfo(&addr.addr,
+ SocketAddress::GetAddrLength(&addr),
+ host,
+ host_len,
+ NULL,
+ 0,
+ NI_NAMEREQD);
if (status != 0) {
ASSERT(*os_error == NULL);
DWORD error_code = WSAGetLastError();
« no previous file with comments | « no previous file | tests/standalone/io/internet_address_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698