Skip to content

Commit

Permalink
Update src/logging.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Sergiu Deitsch <[email protected]>
  • Loading branch information
yangzhg and sergiud authored Aug 4, 2022
1 parent dea719a commit b3c3b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ void LogFileObject::CheckHistoryFileNum() {
DT_LNK == entry->d_type) {
continue;
}
std::string filename = std::string(entry->d_name);
std::string filename = entry->d_name;

if (filename.find(symlink_basename_ + '.' + LogSeverityNames[severity_]) == 0) {
std::string filepath = log_dirs[0] + "/" + filename;
Expand Down

0 comments on commit b3c3b4d

Please sign in to comment.