summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Young <consult.awy@gmail.com>2016-09-12 17:07:29 (GMT)
committerAlan Young <consult.awy@gmail.com>2016-09-13 09:42:16 (GMT)
commitc20ff48f2c55c9b48a8fb181a3c3fdb9921bd054 (patch)
treeea3516f31cf868f41653e239d7e04f669c745616
parent0794a4c6cc50b087bf12622ed6830f93e9250481 (diff)
downloadstroke-master.zip
stroke-master.tar.bz2
Fix cut-n-paste typoHEADmaster
Change-Id: Ie57f18aee639d6ba911cd95ac6b45d048462c105
-rw-r--r--src/com/isode/stroke/network/Connector.java4
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 {
addressQuery.onResult.disconnectAll();
addressQuery = null;
}
- if (currentConnection != null) {
+ if (currentConnectionConnectFinishedConnection != null) {
currentConnectionConnectFinishedConnection.disconnect();
- currentConnection = null;
+ currentConnectionConnectFinishedConnection = null;
}
onConnectFinished.emit(connection, (connection != null || foundSomeDNS) ? null : new DomainNameResolveError());