summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-10-05 17:58:45 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-10-05 17:58:45 (GMT)
commit7f7b05d8d242a9b73b7d9f971779c6af19980f76 (patch)
treedd12ff1edabb2081aba1f74ce88c5eb003f37a2d /Swiften
parent16a895e7d64b71d1aa7a971d77e8daf6591e9c56 (diff)
downloadswift-contrib-7f7b05d8d242a9b73b7d9f971779c6af19980f76.zip
swift-contrib-7f7b05d8d242a9b73b7d9f971779c6af19980f76.tar.bz2
Fixed compilation of neetwork tool.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Examples/NetworkTool/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Examples/NetworkTool/main.cpp b/Swiften/Examples/NetworkTool/main.cpp
index ace38fd..00c12d2 100644
--- a/Swiften/Examples/NetworkTool/main.cpp
+++ b/Swiften/Examples/NetworkTool/main.cpp
@@ -30,7 +30,7 @@ void handleGetPublicIPRequestResponse(const boost::optional<HostAddress>& result
void handleGetForwardPortRequestResponse(const boost::optional<NATPortMapping>& result) {
if (result) {
- std::cerr << "Result: " << result->publicPort << " -> " << result->localPort << std::endl;;
+ std::cerr << "Result: " << result->getPublicPort() << " -> " << result->getLocalPort() << std::endl;;
}
else {
std::cerr << "No result" << std::endl;