From dd640266f5c12a2819852826c08db2dfe5feaf36 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 25 Jul 2019 22:35:07 -0700 Subject: [PATCH] modules/net_dns_resolver: Simplify errorlog msg. --- modules/net_dns_resolver.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/net_dns_resolver.cc b/modules/net_dns_resolver.cc index 0bd25dfac..7da7af43a 100644 --- a/modules/net_dns_resolver.cc +++ b/modules/net_dns_resolver.cc @@ -810,12 +810,10 @@ ircd::net::dns::resolver::error_one(tag &tag, const std::exception_ptr &eptr, const bool &remove) { - thread_local char hpbuf[128]; log::error { - log, "DNS error id:%u for '%s' :%s", + log, "DNS error id:%u :%s", tag.id, - string(hpbuf, tag.hp), what(eptr) };