1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:14:58 +00:00

base64: TRY() the fallible function encode_base64()

This seems to have been forgotten in commit 25f2e498.
This commit is contained in:
Kenneth Myhra 2023-01-08 17:33:11 +01:00 committed by Sam Atkins
parent a33a490d48
commit 2e985bb505

View file

@ -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;
}