Skip to content

Commit 2e985bb

Browse files
kennethmyhraAtkinsSJ
authored andcommitted
base64: TRY() the fallible function encode_base64()
This seems to have been forgotten in commit 25f2e49.
1 parent a33a490 commit 2e985bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Utilities/base64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
3333
return 0;
3434
}
3535

36-
auto encoded = encode_base64(buffer);
36+
auto encoded = TRY(encode_base64(buffer));
3737
outln("{}", encoded);
3838
return 0;
3939
}

0 commit comments

Comments
 (0)