From e4f772ceb545a883d4683d34dff0a38e023f98ee Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Fri, 19 Jan 2018 19:57:37 +0100 Subject: [PATCH] Fix copied code --- pdns/recursordist/test-syncres_cc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1