diff options
| author | Alan Young <consult.awy@gmail.com> | 2016-09-12 17:07:29 (GMT) |
|---|---|---|
| committer | Alan Young <consult.awy@gmail.com> | 2016-09-13 09:42:16 (GMT) |
| commit | c20ff48f2c55c9b48a8fb181a3c3fdb9921bd054 (patch) | |
| tree | ea3516f31cf868f41653e239d7e04f669c745616 | |
| parent | 0794a4c6cc50b087bf12622ed6830f93e9250481 (diff) | |
| download | stroke-c20ff48f2c55c9b48a8fb181a3c3fdb9921bd054.zip stroke-c20ff48f2c55c9b48a8fb181a3c3fdb9921bd054.tar.bz2 | |
Fix cut-n-paste typo
Change-Id: Ie57f18aee639d6ba911cd95ac6b45d048462c105
| -rw-r--r-- | src/com/isode/stroke/network/Connector.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/isode/stroke/network/Connector.java b/src/com/isode/stroke/network/Connector.java index 2823679..73a478b 100644 --- a/src/com/isode/stroke/network/Connector.java +++ b/src/com/isode/stroke/network/Connector.java | |||
| @@ -218,9 +218,9 @@ public class Connector { | |||
| 218 | addressQuery.onResult.disconnectAll(); | 218 | addressQuery.onResult.disconnectAll(); |
| 219 | addressQuery = null; | 219 | addressQuery = null; |
| 220 | } | 220 | } |
| 221 | if (currentConnection != null) { | 221 | if (currentConnectionConnectFinishedConnection != null) { |
| 222 | currentConnectionConnectFinishedConnection.disconnect(); | 222 | currentConnectionConnectFinishedConnection.disconnect(); |
| 223 | currentConnection = null; | 223 | currentConnectionConnectFinishedConnection = null; |
| 224 | } | 224 | } |
| 225 | 225 | ||
| 226 | onConnectFinished.emit(connection, (connection != null || foundSomeDNS) ? null : new DomainNameResolveError()); | 226 | onConnectFinished.emit(connection, (connection != null || foundSomeDNS) ? null : new DomainNameResolveError()); |
Swift