summaryrefslogtreecommitdiff
path: root/Libraries/LibGemini/Job.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-08-15 13:55:00 -0400
committerAndreas Kling <kling@serenityos.org>2020-08-16 16:33:28 +0200
commit430b265cd45167fb2dca2323ea5f5b910be00a1d (patch)
tree703e3fb9cb2f752b8a85f6cab52698b94576abc0 /Libraries/LibGemini/Job.cpp
parenta68650a7b41f0bb99d26a1405baaca33c1dfbcb6 (diff)
downloadserenity-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/LibGemini/Job.cpp')
-rw-r--r--Libraries/LibGemini/Job.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGemini/Job.cpp b/Libraries/LibGemini/Job.cpp
index b4d0d4c10a..37753eb920 100644
--- a/Libraries/LibGemini/Job.cpp
+++ b/Libraries/LibGemini/Job.cpp
@@ -109,7 +109,7 @@ void Job::on_socket_connected()
ASSERT(m_state == State::InBody || m_state == State::Finished);
read_while_data_available([&] {
- auto read_size = 64 * KB;
+ auto read_size = 64 * KiB;
auto payload = receive(read_size);
if (!payload) {