]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Slightly better function name. 15971/head
authorMiod Vallat <miod.vallat@powerdns.com>
Mon, 18 Aug 2025 05:26:25 +0000 (07:26 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Mon, 18 Aug 2025 05:26:25 +0000 (07:26 +0200)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/pdnsutil.cc

index 61fc218ee08515b8daafa739d49bfff45fb548db..5e288a506c4dda912e45a47213443ab7964a7887 100644 (file)
@@ -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<DNSRecord> fillZoneFile(int& tmpfd, const char* tmpnam, DomainInfo& info)
+static std::vector<DNSRecord>fillTempZoneFile(int& tmpfd, const char* tmpnam, DomainInfo& info)
 {
   std::vector<DNSRecord> 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<const char *>(tmpnam), info);
+      pre = fillTempZoneFile(tmpfd, static_cast<const char *>(tmpnam), info);
       //state = EDITFILE;
       [[fallthrough]];
     case EDITFILE: