mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03: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
@ -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 New Issue
Block a user