Skip to content

Commit

Permalink
fix what AI messed up
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerBerger committed Dec 13, 2024
1 parent cf18f42 commit 99f3daf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ws_restore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,7 @@ int main(int argc, char **argv) {
std::vector<std::string> splitted;
boost::split(splitted, dn, boost::is_any_of("-"));
time_t t = atol(splitted[splitted.size()-1].c_str());
char buffer[26];
cout << "\tunavailable since " << std::ctime_r(&t, buffer);
cout << "\tunavailable since " << std::ctime(&t);
}
}

Expand Down

0 comments on commit 99f3daf

Please sign in to comment.