From 62344c6023bd07e7e96e30bbb9fca8ae8835f021 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 2 Oct 2012 14:56:07 +0100 Subject: Avoid NPEs 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; -- cgit v0.10.2-6-g49f6