diff options
-rw-r--r-- | src/cowboy_multipart.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_multipart.erl b/src/cowboy_multipart.erl index 7363054..4e8fff0 100644 --- a/src/cowboy_multipart.erl +++ b/src/cowboy_multipart.erl @@ -105,7 +105,7 @@ suffix_match(Bin, {_Boundary, {Pat, Len}}) -> Size = byte_size(Bin), suffix_match(Bin, Pat, Size, max(-Size, -Len)). --spec suffix_match(binary(), tuple(), non_neg_integer(), 0|neg_integer()) -> +-spec suffix_match(binary(), binary:cp(), non_neg_integer(), 0|neg_integer()) -> nomatch | {integer(), integer()}. suffix_match(_Bin, _Pat, _Size, _Match=0) -> nomatch; |