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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6209%2Fhead;p=thirdparty%2Fpdns.git Fix copied code --- diff --git a/pdns/recursordist/test-syncres_cc.cc b/pdns/recursordist/test-syncres_cc.cc index 31938cabe8..cd51914836 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;