mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
base64: TRY() the fallible function encode_base64()
This seems to have been forgotten in commit 25f2e498
.
This commit is contained in:
parent
a33a490d48
commit
2e985bb505
Notes:
sideshowbarker
2024-07-17 02:14:39 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/2e985bb505 Pull-request: https://github.com/SerenityOS/serenity/pull/16916
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue