From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 17:23:15 +0000 (-0500) Subject: spelling: locked X-Git-Tag: rec-5.4.0-alpha1~61^2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a18444747ec6348a9fb68af39b5688b2202a653;p=thirdparty%2Fpdns.git spelling: locked Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/rec_channel_rec.cc b/pdns/recursordist/rec_channel_rec.cc index 1e5b50a2c4..f5d285503d 100644 --- a/pdns/recursordist/rec_channel_rec.cc +++ b/pdns/recursordist/rec_channel_rec.cc @@ -209,8 +209,8 @@ static std::optional get(const string& name) } { - auto lcoked = d_dynmetrics.lock(); - const auto* ptr = rplookup(*lcoked, name); + auto locked = d_dynmetrics.lock(); + const auto* ptr = rplookup(*locked, name); if (ptr != nullptr) { return ptr->d_ptr->load(); }