From 529925dd1fa6cdf7502c5f648f65c92ff01a4970 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 31 Jul 2020 11:13:05 +0200 Subject: [PATCH] Tidy declaration of new exitCode field --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 222d8300a4..f62c3edf66 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -173,13 +173,13 @@ struct RecThreadInfo std::thread thread; MT_t* mt{nullptr}; uint64_t numberOfDistributedQueries{0}; + int exitCode{0}; /* handle the web server, carbon, statistics and the control channel */ bool isHandler{false}; /* accept incoming queries (and distributes them to the workers if pdns-distributes-queries is set) */ bool isListener{false}; /* process queries */ bool isWorker{false}; - int exitCode{0}; }; /* first we have the handler thread, t_id == 0 (some other -- 2.47.2