From 5e8c8f2715e328aa56bce6dcecec312a05007a64 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 31 Jan 2014 11:31:26 +1100 Subject: [PATCH] Fixed linux compilation. --- src/config/user_config.cpp | 1 - src/network/protocols/get_public_address.cpp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/user_config.cpp b/src/config/user_config.cpp index 3052d50cd..9f36ee033 100644 --- a/src/config/user_config.cpp +++ b/src/config/user_config.cpp @@ -296,7 +296,6 @@ void ListUserConfigParam::findYourDataInAChildOf(const XMLNode* node) } if (!there) { - Log::info("ListUserConfigParam", "New data : %s, \"%s\"", str.c_str(), elt); m_elements.push_back(elt); } } diff --git a/src/network/protocols/get_public_address.cpp b/src/network/protocols/get_public_address.cpp index f9118a4db..9e685bd5d 100644 --- a/src/network/protocols/get_public_address.cpp +++ b/src/network/protocols/get_public_address.cpp @@ -106,7 +106,8 @@ void GetPublicAddress::asynchronousUpdate() RandomGenerator random_gen; int rand_result = random_gen.get(stun_servers.size()); - Log::verbose("GetPublicAddress", "Using STUN server %s", stun_servers[rand_result]); + Log::verbose("GetPublicAddress", "Using STUN server %s", + stun_servers[rand_result].c_str()); // resolve the name into an IP address struct addrinfo hints, *res, *p;