privops: remove debug message from PRV_Name2IPAddress()

The function may be called from a separate thread, but logging is not
considered thread safe (e.g. due to using functions which read
environment variables).
This commit is contained in:
Miroslav Lichvar 2019-11-11 17:59:26 +01:00
parent 077dbd5692
commit b3fc549622

View file

@ -618,7 +618,6 @@ PRV_Name2IPAddress(const char *name, IPAddr *ip_addrs, int max_addrs)
req.op = OP_NAME2IPADDRESS;
if (snprintf(req.data.name_to_ipaddress.name, sizeof (req.data.name_to_ipaddress.name),
"%s", name) >= sizeof (req.data.name_to_ipaddress.name)) {
DEBUG_LOG("Name too long");
return DNS_Failure;
}