From: Miod Vallat Date: Mon, 18 Aug 2025 05:26:25 +0000 (+0200) Subject: Slightly better function name. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15971%2Fhead;p=thirdparty%2Fpdns.git Slightly better function name. Signed-off-by: Miod Vallat --- 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: