]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4249] Addressed review comments
authorThomas Markwalder <tmark@isc.org>
Mon, 8 Dec 2025 23:26:24 +0000 (18:26 -0500)
committerThomas Markwalder <tmark@isc.org>
Mon, 8 Dec 2025 23:26:24 +0000 (18:26 -0500)
modified:   src/lib/dhcpsrv/memfile_lease_mgr.cc
   -  minor nits

src/lib/dhcpsrv/memfile_lease_mgr.cc

index e6c5931acc34402331beeced80d8a44733d65da9..090a8c7d2497a7c92b72576d736cc169e9801d2f 100644 (file)
@@ -3771,7 +3771,7 @@ Memfile_LeaseMgr::writeLeases4Internal(const std::string& filename) {
         // Rename the previous dump file (if one) to back up.
         ::rename(filename.c_str(), bakname.c_str());
 
-        // Rename tmp file to dump file.
+        // Rename temp file to dump file.
         ::rename(tmpname.c_str(), filename.c_str());
     }
 }
@@ -3827,7 +3827,7 @@ Memfile_LeaseMgr::writeLeases6Internal(const std::string& filename) {
         // Rename the previous dump file (if one) to back up.
         ::rename(filename.c_str(), bakname.c_str());
 
-        // Rename tmp file to dump file.
+        // Rename temp file to dump file.
         ::rename(tmpname.c_str(), filename.c_str());
     }
 }