From: Chris Hofstaedtler Date: Fri, 19 Jan 2018 18:57:37 +0000 (+0100) Subject: Fix copied code X-Git-Tag: dnsdist-1.3.0~143^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4f772ceb545a883d4683d34dff0a38e023f98ee;p=pdns Fix copied code --- diff --git a/pdns/recursordist/test-syncres_cc.cc b/pdns/recursordist/test-syncres_cc.cc index 31938cabe..cd5191483 100644 --- a/pdns/recursordist/test-syncres_cc.cc +++ b/pdns/recursordist/test-syncres_cc.cc @@ -66,7 +66,7 @@ void primeHints(void) arr.d_ttl=aaaarr.d_ttl=nsrr.d_ttl=time(nullptr)+3600000; for(char c='a';c<='m';++c) { - static char templ[40]; + char templ[40]; strncpy(templ,"a.root-servers.net.", sizeof(templ) - 1); templ[sizeof(templ)-1] = '\0'; *templ=c;