From: Otto Moerbeek Date: Tue, 29 Oct 2024 11:20:09 +0000 (+0100) Subject: Correct initial value of d_used X-Git-Tag: rec-5.2.0-alpha1~9^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7eeddf7cf59a4710db30e32c5f72de01cf58251c;p=thirdparty%2Fpdns.git Correct initial value of d_used --- 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,