diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-10-05 17:58:45 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-10-05 17:58:45 (GMT) |
commit | 7f7b05d8d242a9b73b7d9f971779c6af19980f76 (patch) | |
tree | dd12ff1edabb2081aba1f74ce88c5eb003f37a2d /Swiften | |
parent | 16a895e7d64b71d1aa7a971d77e8daf6591e9c56 (diff) | |
download | swift-contrib-7f7b05d8d242a9b73b7d9f971779c6af19980f76.zip swift-contrib-7f7b05d8d242a9b73b7d9f971779c6af19980f76.tar.bz2 |
Fixed compilation of neetwork tool.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Examples/NetworkTool/main.cpp | 2 |
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; |