]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Tidy declaration of new exitCode field 9196/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 31 Jul 2020 09:13:05 +0000 (11:13 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 31 Jul 2020 09:13:05 +0000 (11:13 +0200)
pdns/pdns_recursor.cc

index 222d8300a4da2a26fac94f92835f4322f7baaaa3..f62c3edf66cfdc4947241708af6922b9ffd137e6 100644 (file)
@@ -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