summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-02-11 18:01:44 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-02-11 18:01:44 (GMT)
commitd5c88ebfe5b9d4385e8cd7f9b5ef814de03d080f (patch)
treed938dcb7d3e68122053b051f4929997bbb295447 /Swiften/QA
parentcd34f859f21ed5a27653f61cb57ff8aeb4acec77 (diff)
downloadswift-d5c88ebfe5b9d4385e8cd7f9b5ef814de03d080f.zip
swift-d5c88ebfe5b9d4385e8cd7f9b5ef814de03d080f.tar.bz2
Fixed NetworkTest.
Change-Id: I533b3ecf5ddc32f6163d32ad3a9d9d012c981997
Diffstat (limited to 'Swiften/QA')
-rw-r--r--Swiften/QA/NetworkTest/BoostConnectionTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/QA/NetworkTest/BoostConnectionTest.cpp b/Swiften/QA/NetworkTest/BoostConnectionTest.cpp
index 2accd9c..53faff7 100644
--- a/Swiften/QA/NetworkTest/BoostConnectionTest.cpp
+++ b/Swiften/QA/NetworkTest/BoostConnectionTest.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2013 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
@@ -18,7 +18,7 @@
#include <Swiften/Network/BoostIOServiceThread.h>
#include <Swiften/EventLoop/DummyEventLoop.h>
-static const unsigned char* address = reinterpret_cast<const unsigned char*>("\x41\x63\xde\x89");
+static const unsigned char* address = reinterpret_cast<const unsigned char*>("\x4A\x32\x3e\x31");
using namespace Swift;
@@ -70,7 +70,7 @@ class BoostConnectionTest : public CppUnit::TestFixture {
testling->onConnectFinished.connect(boost::bind(&BoostConnectionTest::doWrite, this, testling.get()));
testling->onDataRead.connect(boost::bind(&BoostConnectionTest::handleDataRead, this, _1));
testling->onDisconnected.connect(boost::bind(&BoostConnectionTest::handleDisconnected, this));
- testling->connect(HostAddressPort(HostAddress("65.99.222.137"), 5222));
+ testling->connect(HostAddressPort(HostAddress("74.50.62.49"), 5222));
while (receivedData.empty()) {
Swift::sleep(10);
eventLoop_->processEvents();
@@ -97,7 +97,7 @@ class BoostConnectionTest : public CppUnit::TestFixture {
testling->onConnectFinished.connect(boost::bind(&BoostConnectionTest::handleConnectFinished, this));
testling->onDataRead.connect(boost::bind(&BoostConnectionTest::handleDataRead, this, _1));
testling->onDisconnected.connect(boost::bind(&BoostConnectionTest::handleDisconnected, this));
- testling->connect(HostAddressPort(HostAddress("65.99.222.137"), 5222));
+ testling->connect(HostAddressPort(HostAddress("74.50.62.49"), 5222));
while (!connectFinished) {
boostIOService->run_one();
eventLoop_->processEvents();