From 7eeddf7cf59a4710db30e32c5f72de01cf58251c Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 29 Oct 2024 12:20:09 +0100 Subject: [PATCH] Correct initial value of d_used --- pdns/recursordist/mtasker.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/recursordist/mtasker.hh b/pdns/recursordist/mtasker.hh index f52848c549..a6e30dafef 100644 --- a/pdns/recursordist/mtasker.hh +++ b/pdns/recursordist/mtasker.hh @@ -181,7 +181,7 @@ private: size_t d_maxCachedStacks{0}; int d_tid{0}; int d_maxtid{0}; - bool d_used{false}; // was d_eventkey consumed? + bool d_used{true}; // was d_eventkey consumed? enum waitstatusenum : int8_t { Error = -1, -- 2.47.2