diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-04-22 20:31:44 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-04-22 20:31:44 (GMT) |
commit | 280a613aef9b549cca41497c50e70052cebb4860 (patch) | |
tree | 4f76c8fc939a775949b9173513e60309c7f4a84f /Swiften | |
parent | dc7ca9862195e342ff6a252ed1423c5566f28c0e (diff) | |
download | swift-280a613aef9b549cca41497c50e70052cebb4860.zip swift-280a613aef9b549cca41497c50e70052cebb4860.tar.bz2 |
Fixed segfault when passing NULL storages to Client.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Client/Client.cpp | 2 |
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()); |