mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Everywhere: Run clang-format
This commit is contained in:
committed by
Linus Groh
parent
0376c127f6
commit
086969277e
@@ -30,7 +30,7 @@ static Optional<size_t> count;
|
||||
static uint32_t total_ms;
|
||||
static int min_ms;
|
||||
static int max_ms;
|
||||
static const char* host;
|
||||
static char const* host;
|
||||
static int payload_size = -1;
|
||||
// variable part of header can be 0 to 40 bytes
|
||||
// https://datatracker.ietf.org/doc/html/rfc791#section-3.1
|
||||
@@ -101,7 +101,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
sockaddr_in peer_address {};
|
||||
peer_address.sin_family = AF_INET;
|
||||
peer_address.sin_port = 0;
|
||||
peer_address.sin_addr.s_addr = *(const in_addr_t*)hostent->h_addr_list[0];
|
||||
peer_address.sin_addr.s_addr = *(in_addr_t const*)hostent->h_addr_list[0];
|
||||
|
||||
uint16_t seq = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user