1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

Meta+LibC through LibHTTP: Make clang-format-10 clean

Why break at LibHTTP? Because "Meta+Libraries" would be insanely large,
and breaking between LibHTTP and LibJS makes the commits roughly evenly large.
This commit is contained in:
Ben Wiederhake 2020-09-18 09:49:51 +02:00 committed by Andreas Kling
parent 64cc3f51d0
commit ede5dbd7b3
58 changed files with 87 additions and 89 deletions

View file

@ -32,8 +32,8 @@
#include <stdlib.h>
#include <sys/stat.h>
#include <AK/LexicalPath.h>
#include <AK/HashMap.h>
#include <AK/LexicalPath.h>
#include <AK/RefPtr.h>
#include <AK/ScopeGuard.h>
#include <AK/String.h>
@ -85,7 +85,8 @@ void* dlopen(const char* filename, int flags)
ScopeGuard close_fd_guard([fd]() { close(fd); });
struct stat file_stats{};
struct stat file_stats {
};
int ret = fstat(fd, &file_stats);
if (ret < 0) {