From cdb00dca1aa7e4431923e328213e900cba54d320 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 13 Jun 2023 09:27:39 +0200 Subject: [PATCH] Typo in var name spotted by @Habbie --- pdns/arguments.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pdns/arguments.cc b/pdns/arguments.cc index 32811e5117..a1081ddd70 100644 --- a/pdns/arguments.cc +++ b/pdns/arguments.cc @@ -202,19 +202,19 @@ string ArgvMap::configstring(bool running, bool full) // Affects parsing, should come first. help += formatOne(running, full, "ignore-unknown-settings", helpmap["ignore-unknown-settings"], defaultmap["ignore-unknown-settings"], d_params["ignore-unknown-settings"]); - for (const auto& helpietm : helpmap) { - if (d_typeMap[helpietm.first] == "Command") { + for (const auto& helpitem : helpmap) { + if (d_typeMap[helpitem.first] == "Command") { continue; } - if (helpietm.first == "ignore-unknown-settings") { + if (helpitem.first == "ignore-unknown-settings") { continue; } - if (defaultmap.count(helpietm.first) == 0) { - throw ArgException(string("Default for setting '") + helpietm.first + "' not set"); + if (defaultmap.count(helpitem.first) == 0) { + throw ArgException(string("Default for setting '") + helpitem.first + "' not set"); } - help += formatOne(running, full, helpietm.first, helpietm.second, defaultmap[helpietm.first], d_params[helpietm.first]); + help += formatOne(running, full, helpitem.first, helpitem.second, defaultmap[helpitem.first], d_params[helpitem.first]); } if (running) { -- 2.47.2