diff options
author | Nico Weber <thakis@chromium.org> | 2020-08-15 13:55:00 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-16 16:33:28 +0200 |
commit | 430b265cd45167fb2dca2323ea5f5b910be00a1d (patch) | |
tree | 703e3fb9cb2f752b8a85f6cab52698b94576abc0 /Libraries/LibHTTP | |
parent | a68650a7b41f0bb99d26a1405baaca33c1dfbcb6 (diff) | |
download | serenity-430b265cd45167fb2dca2323ea5f5b910be00a1d.zip |
AK: Rename KB, MB, GB to KiB, MiB, GiB
The SI prefixes "k", "M", "G" mean "10^3", "10^6", "10^9".
The IEC prefixes "Ki", "Mi", "Gi" mean "2^10", "2^20", "2^30".
Let's use the correct name, at least in code.
Only changes the name of the constants, no other behavior change.
Diffstat (limited to 'Libraries/LibHTTP')
-rw-r--r-- | Libraries/LibHTTP/Job.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTTP/Job.cpp b/Libraries/LibHTTP/Job.cpp index 36d47f9455..285338db63 100644 --- a/Libraries/LibHTTP/Job.cpp +++ b/Libraries/LibHTTP/Job.cpp @@ -173,7 +173,7 @@ void Job::on_socket_connected() ASSERT(can_read()); read_while_data_available([&] { - auto read_size = 64 * KB; + auto read_size = 64 * KiB; if (m_current_chunk_remaining_size.has_value()) { read_chunk_size:; auto remaining = m_current_chunk_remaining_size.value(); |