summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-22 20:31:44 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-22 20:31:44 (GMT)
commit280a613aef9b549cca41497c50e70052cebb4860 (patch)
tree4f76c8fc939a775949b9173513e60309c7f4a84f
parentdc7ca9862195e342ff6a252ed1423c5566f28c0e (diff)
downloadswift-contrib-280a613aef9b549cca41497c50e70052cebb4860.zip
swift-contrib-280a613aef9b549cca41497c50e70052cebb4860.tar.bz2
Fixed segfault when passing NULL storages to Client.
-rw-r--r--Swiften/Client/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Client/Client.cpp b/Swiften/Client/Client.cpp
index c6ada7c..5a3450c 100644
--- a/Swiften/Client/Client.cpp
+++ b/Swiften/Client/Client.cpp
@@ -36,7 +36,7 @@ Client::Client(const JID& jid, const std::string& password, NetworkFactories* ne
softwareVersionResponder->start();
roster = new XMPPRosterImpl();
- rosterController = new XMPPRosterController(getIQRouter(), roster, storages->getRosterStorage());
+ rosterController = new XMPPRosterController(getIQRouter(), roster, getStorages()->getRosterStorage());
subscriptionManager = new SubscriptionManager(getStanzaChannel());