Fixed linux compilation.

This commit is contained in:
hiker 2014-01-31 11:31:26 +11:00
parent a38a3b1b9a
commit 5e8c8f2715
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,6 @@ void ListUserConfigParam<T, U>::findYourDataInAChildOf(const XMLNode* node)
}
if (!there)
{
Log::info("ListUserConfigParam", "New data : %s, \"%s\"", str.c_str(), elt);
m_elements.push_back(elt);
}
}

View File

@ -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;