From 7f7b05d8d242a9b73b7d9f971779c6af19980f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Wed, 5 Oct 2011 19:58:45 +0200 Subject: Fixed compilation of neetwork tool. 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& result void handleGetForwardPortRequestResponse(const boost::optional& 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; -- cgit v0.10.2-6-g49f6