summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-09-12 21:37:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-09-12 21:37:57 (GMT)
commit326c0620a103d621bcdd74341cd0117816acca03 (patch)
tree03195c594b88d478f2c01576ebc6e87f7668b595 /Swiften/Examples/ConnectivityTest
parent0da93507bea788cf6bd8f327478caddf3ea679e5 (diff)
downloadswift-326c0620a103d621bcdd74341cd0117816acca03.zip
swift-326c0620a103d621bcdd74341cd0117816acca03.tar.bz2
Remove IQRouter from client inheritance list.
Diffstat (limited to 'Swiften/Examples/ConnectivityTest')
-rw-r--r--Swiften/Examples/ConnectivityTest/ConnectivityTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Examples/ConnectivityTest/ConnectivityTest.cpp b/Swiften/Examples/ConnectivityTest/ConnectivityTest.cpp
index 049802f..af08a9c 100644
--- a/Swiften/Examples/ConnectivityTest/ConnectivityTest.cpp
+++ b/Swiften/Examples/ConnectivityTest/ConnectivityTest.cpp
@@ -41,7 +41,7 @@ void handleServerDiscoInfoResponse(boost::shared_ptr<DiscoInfo> /*info*/, const
void handleConnected() {
exitCode = NO_RESPONSE;
- boost::shared_ptr<GetDiscoInfoRequest> discoInfoRequest(new GetDiscoInfoRequest(JID(), client));
+ boost::shared_ptr<GetDiscoInfoRequest> discoInfoRequest(new GetDiscoInfoRequest(JID(), client->getIQRouter()));
discoInfoRequest->onResponse.connect(handleServerDiscoInfoResponse);
discoInfoRequest->send();
}