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

Unified Diff: runtime/bin/socket_patch.dart

Issue 12095014: IO v2: Update a number of HTTP tests to pass (Closed) Base URL: http://dart.googlecode.com/svn/experimental/lib_v2_io/dart/
Patch Set: Created 7 years, 11 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 | sdk/lib/io/http.dart » ('j') | sdk/lib/io/http.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_patch.dart
===================================================================
--- runtime/bin/socket_patch.dart (revision 17714)
+++ runtime/bin/socket_patch.dart (working copy)
@@ -119,7 +119,7 @@
return new Future.immediateError(
new SocketIOException("Failed to create server socket", result));
}
- if (port != 0) result.localPort = port;
+ if (port != 0) socket.localPort = port;
return new Future.immediate(socket);
}
« no previous file with comments | « no previous file | sdk/lib/io/http.dart » ('j') | sdk/lib/io/http.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698