aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src
diff options
context:
space:
mode:
authorMyron Marston <[email protected]>2017-03-01 09:34:50 -0800
committerMyron Marston <[email protected]>2017-03-01 09:34:50 -0800
commiteb437db9e7df90d5e72d6314ee7c49cbde77135a (patch)
tree42f92121e53f6ecafd74d9b74590526430c31fab /lib/inets/src
parent6a5aa63cbadbc831b38ef7781ca80c759debef44 (diff)
downloadotp-eb437db9e7df90d5e72d6314ee7c49cbde77135a.tar.gz
otp-eb437db9e7df90d5e72d6314ee7c49cbde77135a.tar.bz2
otp-eb437db9e7df90d5e72d6314ee7c49cbde77135a.zip
Fix typos: lenght -> length
Diffstat (limited to 'lib/inets/src')
-rw-r--r--lib/inets/src/http_client/httpc_response.erl2
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,