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); |
} |