summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-02-11 16:18:02 (GMT)
committerSwift Review <review@swift.im>2015-02-11 19:08:08 (GMT)
commitce0e55e031c634b5e16520b22ea241775a159124 (patch)
treebe1d8111a73463b8e6ed85538564fd941f58dd0b /Swiften/QA/ClientTest/ClientTest.cpp
parent630cc944978d5dff1efad7cac12d3327d210e4e7 (diff)
downloadswift-ce0e55e031c634b5e16520b22ea241775a159124.zip
swift-ce0e55e031c634b5e16520b22ea241775a159124.tar.bz2
Fix program output of Swiften/QA/ClientTest
Test-Information: Tried to connect to BOSH service setting the boshPath to "http-bind" while "/http-bind" would have been correct. Change-Id: Ifc9bb574361c9eaa3baeffc2938d06a257275f2a
Diffstat (limited to 'Swiften/QA/ClientTest/ClientTest.cpp')
-rw-r--r--Swiften/QA/ClientTest/ClientTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/QA/ClientTest/ClientTest.cpp b/Swiften/QA/ClientTest/ClientTest.cpp
index cccf9cb..eb116e9 100644
--- a/Swiften/QA/ClientTest/ClientTest.cpp
+++ b/Swiften/QA/ClientTest/ClientTest.cpp
@@ -1,8 +1,8 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <boost/bind.hpp>
#include <boost/thread.hpp>
@@ -69,13 +69,13 @@ int main(int, char**) {
char* boshHost = getenv("SWIFT_CLIENTTEST_BOSH_HOST");
char* boshPort = getenv("SWIFT_CLIENTTEST_BOSH_PORT");
char* boshPath = getenv("SWIFT_CLIENTTEST_BOSH_PATH");
if (boshHost && boshPort && boshPath) {
- std::cout << "Using BOSH with URL: http://" << boshHost << ":" << boshPort << "/" << boshPath << std::endl;
+ std::cout << "Using BOSH with URL: http://" << boshHost << ":" << boshPort << boshPath << std::endl;
options.boshURL = URL("http", boshHost, atoi(boshPort), boshPath);
}
client = new Swift::Client(JID(jid), std::string(pass), &networkFactories);
ClientXMLTracer* tracer = new ClientXMLTracer(client, !options.boshURL.isEmpty());
client->onConnected.connect(&handleConnected);