| Index: runtime/bin/socket_impl.dart
|
| diff --git a/runtime/bin/socket_impl.dart b/runtime/bin/socket_impl.dart
|
| index b52f3024ea5a0f14b2f6079bd9833a828686b4a1..139344e7b35a5747edc5e6388a2b9ffd4c7d4d56 100644
|
| --- a/runtime/bin/socket_impl.dart
|
| +++ b/runtime/bin/socket_impl.dart
|
| @@ -429,10 +429,10 @@ class _Socket extends _SocketBase implements Socket {
|
| }
|
| var result = _writeList(outBuffer, outOffset, bytes);
|
| if (result is OSError) {
|
| + _reportError(result, "Write failed");
|
| // If writing fails we return 0 as the number of bytes and
|
| // report the error on the error handler.
|
| result = 0;
|
| - _reportError(result, "Write failed");
|
| }
|
| return result;
|
| }
|
|
|