summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/isode/stroke/network/Connector.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/isode/stroke/network/Connector.java b/src/com/isode/stroke/network/Connector.java
index b1ee73c..983882b 100644
--- a/src/com/isode/stroke/network/Connector.java
+++ b/src/com/isode/stroke/network/Connector.java
@@ -33,6 +33,8 @@ public class Connector {
assert serviceQuery == null;
assert timer == null;
queriedAllServices = false;
+ serviceQueryResults = new ArrayList<Result>();
+
if (doServiceLookups) {
serviceQuery = resolver.createServiceQuery("_xmpp-client._tcp." + hostname);
serviceQuery.onResult.connect(new Slot1<Collection<DomainNameServiceQuery.Result>>() {