diff options
author | Björn Gustavsson <[email protected]> | 2017-03-03 11:46:19 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-03 11:46:19 +0100 |
commit | 6df4e8aaf35488defd19c468395f4a5ae9714ada (patch) | |
tree | c9c1ac2c4a3ccc6f6a0c987a9f0f4cf9437b8df4 /lib/inets/src/http_client/httpc_response.erl | |
parent | 79422f489a619df0bb6fcd32ce494fb9cefdaa12 (diff) | |
parent | eb437db9e7df90d5e72d6314ee7c49cbde77135a (diff) | |
download | otp-6df4e8aaf35488defd19c468395f4a5ae9714ada.tar.gz otp-6df4e8aaf35488defd19c468395f4a5ae9714ada.tar.bz2 otp-6df4e8aaf35488defd19c468395f4a5ae9714ada.zip |
Merge pull request #1359 from myronmarston/fix-length-typo
Fix typos: lenght -> length
Diffstat (limited to 'lib/inets/src/http_client/httpc_response.erl')
-rw-r--r-- | lib/inets/src/http_client/httpc_response.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_response.erl b/lib/inets/src/http_client/httpc_response.erl index 0fd5faa466..d24705a845 100644 --- a/lib/inets/src/http_client/httpc_response.erl +++ b/lib/inets/src/http_client/httpc_response.erl @@ -434,7 +434,7 @@ format_response({StatusLine, Headers, Body}) -> Length = list_to_integer(Headers#http_response_h.'content-length'), {NewBody, Data} = case Length of - -1 -> % When no lenght indicator is provided + -1 -> % When no length indicator is provided {Body, <<>>}; Length when (Length =< size(Body)) -> <<BodyThisReq:Length/binary, Next/binary>> = Body, |