mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 00:45:07 +00:00
WebServer: Remove debug spam in directory listing code
This commit is contained in:
parent
f767085eb6
commit
fc562a3a93
1 changed files with 1 additions and 2 deletions
|
@ -161,9 +161,8 @@ void Client::handle_directory_listing(const String& requested_path, const String
|
|||
memset(&st, 0, sizeof(st));
|
||||
int rc = stat(path_builder.to_string().characters(), &st);
|
||||
if (rc < 0) {
|
||||
perror("wut!");
|
||||
perror("stat");
|
||||
}
|
||||
dbg() << "statted _" << path_builder.to_string() << "_, rc = " << rc << " mtime = " << st.st_mtime;
|
||||
builder.appendf(" %10d", st.st_size);
|
||||
builder.appendf(" ");
|
||||
builder.append(Core::DateTime::from_timestamp(st.st_mtime).to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue