summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-18 21:06:17 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-18 21:48:54 (GMT)
commit5d504472c63b7acaa7df99ff1097024cf463f1bd (patch)
tree999b651588f38ee09325dcda65b6e6396247de2f /Nim/main.cpp
parent4457bc810a326de8d7895b3f2ff36ade5f1ae1a0 (diff)
downloadswift-contrib-5d504472c63b7acaa7df99ff1097024cf463f1bd.zip
swift-contrib-5d504472c63b7acaa7df99ff1097024cf463f1bd.tar.bz2
Implement outgoing linklocal sessions.
Diffstat (limited to 'Nim/main.cpp')
-rw-r--r--Nim/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Nim/main.cpp b/Nim/main.cpp
index 15c41c7..7ff4954 100644
--- a/Nim/main.cpp
+++ b/Nim/main.cpp
@@ -175,7 +175,9 @@ class Server {
if (linkLocalRoster_->hasItem(toJID)) {
boost::shared_ptr<OutgoingLinkLocalSession> outgoingSession(
new OutgoingLinkLocalSession(
- selfJID_, toJID, linkLocalRoster_->getHostname(toJID),
+ selfJID_, toJID,
+ linkLocalRoster_->getHostname(toJID),
+ linkLocalRoster_->getPort(toJID),
dnsSDService_,
&payloadParserFactories_, &payloadSerializers_,
&boostConnectionFactory_));