summaryrefslogtreecommitdiff
path: root/Userland/Utilities/base64.cpp
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2023-01-08 17:33:11 +0100
committerSam Atkins <atkinssj@gmail.com>2023-01-08 20:13:32 +0000
commit2e985bb5057ed4c4df9e4f992d3cf0a4ef74900c (patch)
treef8add9fea18a61d3d69d3552301e9f1436c8ab05 /Userland/Utilities/base64.cpp
parenta33a490d48c2cd7cf8037bf2732408770a5b76c8 (diff)
downloadserenity-2e985bb5057ed4c4df9e4f992d3cf0a4ef74900c.zip
base64: TRY() the fallible function encode_base64()
This seems to have been forgotten in commit 25f2e498.
Diffstat (limited to 'Userland/Utilities/base64.cpp')
-rw-r--r--Userland/Utilities/base64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/base64.cpp b/Userland/Utilities/base64.cpp
index e4e2b1dfcd..a622ea8ca6 100644
--- a/Userland/Utilities/base64.cpp
+++ b/Userland/Utilities/base64.cpp
@@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
return 0;
}
- auto encoded = encode_base64(buffer);
+ auto encoded = TRY(encode_base64(buffer));
outln("{}", encoded);
return 0;
}