mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-26 19:28:59 +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: 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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto encoded = encode_base64(buffer);
|
auto encoded = TRY(encode_base64(buffer));
|
||||||
outln("{}", encoded);
|
outln("{}", encoded);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue