Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Feb 29, 2024
1 parent 30cd3e4 commit 8b7d9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hex_tarball.erl
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ gzip_no_header(Uncompressed) ->
%% @private
valid_size(Binary, undefined) when is_binary(Binary) ->
true;
valid_size(Binary, Limit) when is_binary(Binary) ->
valid_size(Binary, Limit) when is_binary(Binary) and is_integer(Limit) ->
byte_size(Binary) =< Limit.

%% @private
Expand Down

0 comments on commit 8b7d9f2

Please sign in to comment.