diff options
Diffstat (limited to 'test/http_SUITE_data/http_multipart_stream.erl')
-rw-r--r-- | test/http_SUITE_data/http_multipart_stream.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/http_multipart_stream.erl b/test/http_SUITE_data/http_multipart_stream.erl index b739740..88cf611 100644 --- a/test/http_SUITE_data/http_multipart_stream.erl +++ b/test/http_SUITE_data/http_multipart_stream.erl @@ -11,7 +11,7 @@ init(Req, Opts) -> multipart(Req) -> case cowboy_req:read_part(Req) of {ok, [{<<"content-length">>, BinLength}], Req2} -> - Length = list_to_integer(binary_to_list(BinLength)), + Length = binary_to_integer(BinLength), {Length, Req3} = stream_body(Req2, 0), multipart(Req3); {done, Req2} -> |