diff --git a/Net/src/DNS.cpp b/Net/src/DNS.cpp index 0b6766f02..92b1a204e 100644 --- a/Net/src/DNS.cpp +++ b/Net/src/DNS.cpp @@ -117,7 +117,7 @@ HostEntry DNS::hostByAddress(const IPAddress& address, unsigned #if defined(POCO_HAVE_ADDRINFO) SocketAddress sa(address, 0); - static char fqname[1024]; + char fqname[1024]; int rc = getnameinfo(sa.addr(), sa.length(), fqname, sizeof(fqname), NULL, 0, NI_NAMEREQD); if (rc == 0) {