summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-10-02 13:56:07 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-10-02 13:56:07 (GMT)
commit62344c6023bd07e7e96e30bbb9fca8ae8835f021 (patch)
tree021020a7d5db6c33bb413dfc3ef4ba4dec3102fc /src
parentbfa6799afb3a65fb6ceeaf042612851f19fc7662 (diff)
downloadstroke-62344c6023bd07e7e96e30bbb9fca8ae8835f021.zip
stroke-62344c6023bd07e7e96e30bbb9fca8ae8835f021.tar.bz2
Avoid NPEs
Diffstat (limited to 'src')
-rw-r--r--src/com/isode/stroke/client/CoreClient.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/isode/stroke/client/CoreClient.java b/src/com/isode/stroke/client/CoreClient.java
index 5ca69bf..ead4889 100644
--- a/src/com/isode/stroke/client/CoreClient.java
+++ b/src/com/isode/stroke/client/CoreClient.java
@@ -132,6 +132,7 @@ public class CoreClient {
forceReset();
disconnectRequested_ = false;
assert (connector_ == null);
+ options = o;
/* FIXME: Port Proxies */
String host = (o.manualHostname == null || o.manualHostname.isEmpty()) ? jid_.getDomain() : o.manualHostname;
int port = o.manualPort;