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:
parent
077dbd5692
commit
b3fc549622
1 changed files with 0 additions and 1 deletions
|
@ -618,7 +618,6 @@ PRV_Name2IPAddress(const char *name, IPAddr *ip_addrs, int max_addrs)
|
||||||
req.op = OP_NAME2IPADDRESS;
|
req.op = OP_NAME2IPADDRESS;
|
||||||
if (snprintf(req.data.name_to_ipaddress.name, sizeof (req.data.name_to_ipaddress.name),
|
if (snprintf(req.data.name_to_ipaddress.name, sizeof (req.data.name_to_ipaddress.name),
|
||||||
"%s", 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;
|
return DNS_Failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue