refactor: Enable clang-tidy readability-identifier-naming check (#6571)

This commit is contained in:
Alex Kremer
2026-05-03 11:31:53 +01:00
committed by GitHub
parent 182d844996
commit 8995564ed6
1498 changed files with 58858 additions and 58914 deletions

View File

@@ -20,18 +20,18 @@ getHTTPHeaderTimestamp()
char buffer[96];
time_t now = 0;
time(&now);
struct tm now_gmt{};
struct tm nowGmt{};
#ifndef _MSC_VER
gmtime_r(&now, &now_gmt);
gmtime_r(&now, &nowGmt);
#else
gmtime_s(&now_gmt, &now);
gmtime_s(&nowGmt, &now);
#endif
strftime(buffer, sizeof(buffer), "Date: %a, %d %b %Y %H:%M:%S +0000\r\n", &now_gmt);
strftime(buffer, sizeof(buffer), "Date: %a, %d %b %Y %H:%M:%S +0000\r\n", &nowGmt);
return std::string(buffer);
}
void
HTTPReply(int nStatus, std::string const& content, Json::Output const& output, beast::Journal j)
httpReply(int nStatus, std::string const& content, json::Output const& output, beast::Journal j)
{
JLOG(j.trace()) << "HTTP Reply " << nStatus << " " << content;