]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review 15216/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 26 Feb 2025 06:47:42 +0000 (07:47 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Feb 2025 06:47:42 +0000 (07:47 +0100)
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/recursordist/rec-main.cc
pdns/recursordist/rec-main.hh

index 4e0ad3825da3eb63a3ab796ab6893e52d376ee19..0e3961c746115c186edde4adc1e3e245907febf3 100644 (file)
@@ -131,7 +131,7 @@ std::shared_ptr<Logr::Logger> g_slogudpout;
 static deferredAdd_t s_deferredUDPadds;
 static deferredAdd_t s_deferredTCPadds;
 
-/* first we have the handler thread, t_id == 0 (thread not created as a RecursorThread have t_id = NOT_INITED)
+/* first we have the handler thread, t_id == 0 (threads not created as a RecursorThread have t_id = NOT_INITED)
    then the distributor threads if any
    and finally the workers */
 std::vector<RecThreadInfo> RecThreadInfo::s_threadInfos;
index acc929ce747ad50eeddb62b75f927b2811d9bd48..9a3c19dd549bcf2bb29f0fd8bcb720233da25516 100644 (file)
@@ -588,7 +588,7 @@ private:
   std::string name;
   std::thread thread;
   int exitCode{0};
-  unsigned int d_myid{TID_NOT_INITED}; // should always equal to the thread_local tid;
+  unsigned int d_myid{TID_NOT_INITED}; // should always be equal to the thread_local tid;
 
   // handle the web server, carbon, statistics and the control channel
   bool handler{false};