From: Otto Moerbeek Date: Fri, 31 Jul 2020 09:13:05 +0000 (+0200) Subject: Tidy declaration of new exitCode field X-Git-Tag: rec-4.4.0-beta1~56^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9196%2Fhead;p=thirdparty%2Fpdns.git Tidy declaration of new exitCode field --- 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