From: Miroslav Lichvar Date: Mon, 11 Nov 2019 16:59:26 +0000 (+0100) Subject: privops: remove debug message from PRV_Name2IPAddress() X-Git-Tag: 4.0-pre1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3fc549622e08faf8ca7fe9a449d9bd51fe51ca1;p=thirdparty%2Fchrony.git 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). --- diff --git a/privops.c b/privops.c index 5513bdaa..036e8f27 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; }