From b3fc549622e08faf8ca7fe9a449d9bd51fe51ca1 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 11 Nov 2019 17:59:26 +0100 Subject: [PATCH] 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). --- privops.c | 1 - 1 file changed, 1 deletion(-) diff --git a/privops.c b/privops.c index 5513bda..036e8f2 100644 --- a/privops.c +++ b/privops.c @@ -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; }