diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-13 08:52:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-13 08:52:24 +0100 |
commit | fc562a3a9306e46f8690579e7826f5240c952ec9 (patch) | |
tree | 1d40ba238000f16224797f22da98f10186ccb452 /Servers/WebServer/Client.cpp | |
parent | f767085eb63de8012876cb2ebafa038a4b1d882e (diff) | |
download | serenity-fc562a3a9306e46f8690579e7826f5240c952ec9.zip |
WebServer: Remove debug spam in directory listing code
Diffstat (limited to 'Servers/WebServer/Client.cpp')
-rw-r--r-- | Servers/WebServer/Client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Servers/WebServer/Client.cpp b/Servers/WebServer/Client.cpp index c399abcac6..08a12d89c1 100644 --- a/Servers/WebServer/Client.cpp +++ b/Servers/WebServer/Client.cpp @@ -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()); |