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

Unified Diff: sdk/lib/io/secure_socket.dart

Issue 14113017: Fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « sdk/lib/io/data_transformer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/secure_socket.dart
diff --git a/sdk/lib/io/secure_socket.dart b/sdk/lib/io/secure_socket.dart
index b887601e376f34c2319d807adec8f4586d7baf96..a76d36b90fb9477dc7c9b25de4b42c82e5136f5d 100644
--- a/sdk/lib/io/secure_socket.dart
+++ b/sdk/lib/io/secure_socket.dart
@@ -572,7 +572,7 @@ class _RawSecureSocket extends Stream<RawSocketEvent>
// TODO(whesse): Call _reportError from all internal functions that throw.
if (e is SocketIOException) {
e = new SocketIOException('$message (${e.message})', e.osError);
- } else if (error is OSError) {
+ } else if (e is OSError) {
e = new SocketIOException(message, e);
} else {
e = new SocketIOException('$message (${e.toString()})', null);
« no previous file with comments | « sdk/lib/io/data_transformer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698