diff options
author | Kenneth Myhra <kennethmyhra@gmail.com> | 2023-01-08 17:33:11 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-01-08 20:13:32 +0000 |
commit | 2e985bb5057ed4c4df9e4f992d3cf0a4ef74900c (patch) | |
tree | f8add9fea18a61d3d69d3552301e9f1436c8ab05 /Userland/Utilities/base64.cpp | |
parent | a33a490d48c2cd7cf8037bf2732408770a5b76c8 (diff) | |
download | serenity-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.cpp | 2 |
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; } |