mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Meta+Kernel: Make clang-format-10 clean
This commit is contained in:
parent
fa62c5595e
commit
64cc3f51d0
61 changed files with 123 additions and 118 deletions
|
@ -352,7 +352,7 @@ KResultOr<size_t> IPv4Socket::receive_packet_buffered(FileDescription& descripti
|
|||
}
|
||||
|
||||
if (type() == SOCK_RAW) {
|
||||
size_t bytes_written = min((size_t) ipv4_packet.payload_size(), buffer_length);
|
||||
size_t bytes_written = min((size_t)ipv4_packet.payload_size(), buffer_length);
|
||||
if (!buffer.write(ipv4_packet.payload(), bytes_written))
|
||||
return KResult(-EFAULT);
|
||||
return bytes_written;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue