diff options
author | Myron Marston <[email protected]> | 2017-03-01 09:34:50 -0800 |
---|---|---|
committer | Myron Marston <[email protected]> | 2017-03-01 09:34:50 -0800 |
commit | eb437db9e7df90d5e72d6314ee7c49cbde77135a (patch) | |
tree | 42f92121e53f6ecafd74d9b74590526430c31fab /lib/inets/src/http_client | |
parent | 6a5aa63cbadbc831b38ef7781ca80c759debef44 (diff) | |
download | otp-eb437db9e7df90d5e72d6314ee7c49cbde77135a.tar.gz otp-eb437db9e7df90d5e72d6314ee7c49cbde77135a.tar.bz2 otp-eb437db9e7df90d5e72d6314ee7c49cbde77135a.zip |
Fix typos: lenght -> length
Diffstat (limited to 'lib/inets/src/http_client')
-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, |