From 36691c845d907170a48cad50e1405415e17a954b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 18 Aug 2025 07:26:25 +0200 Subject: [PATCH] Slightly better function name. Signed-off-by: Miod Vallat --- pdns/pdnsutil.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 61fc218ee..5e288a506 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1831,7 +1831,7 @@ static bool spawnEditor(const std::string& editor, std::string_view tmpfile, int // contents of zone `info', in bind format. // Returns the zone records in sorted order, with the file closed and `tmpfd' // reset to -1. -static std::vector fillZoneFile(int& tmpfd, const char* tmpnam, DomainInfo& info) +static std::vectorfillTempZoneFile(int& tmpfd, const char* tmpnam, DomainInfo& info) { std::vector records; @@ -2029,7 +2029,7 @@ static int editZone(const ZoneName &zone, const PDNSColors& col) while (true) { switch (state) { case CREATEZONEFILE: - pre = fillZoneFile(tmpfd, static_cast(tmpnam), info); + pre = fillTempZoneFile(tmpfd, static_cast(tmpnam), info); //state = EDITFILE; [[fallthrough]]; case EDITFILE: -- 2.47.2