diff options
author | Igor Bulanov <[email protected]> | 2019-06-28 09:49:57 +0700 |
---|---|---|
committer | Igor Bulanov <[email protected]> | 2019-06-28 10:36:19 +0700 |
commit | 39dec3155b76dba6d701bee8112d52d4aa61d51a (patch) | |
tree | a91d91dba1c65f77b8c7aba11f054bbdf21e9826 /lib/inets/test/httpc_SUITE.erl | |
parent | 0c463a974b2c7030d13058b8948d1e3a57afe4e6 (diff) | |
download | otp-39dec3155b76dba6d701bee8112d52d4aa61d51a.tar.gz otp-39dec3155b76dba6d701bee8112d52d4aa61d51a.tar.bz2 otp-39dec3155b76dba6d701bee8112d52d4aa61d51a.zip |
Fix typo in httpc_SUITE:content_length/1
Diffstat (limited to 'lib/inets/test/httpc_SUITE.erl')
-rw-r--r-- | lib/inets/test/httpc_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl index d4b33ae2c6..6e56a02330 100644 --- a/lib/inets/test/httpc_SUITE.erl +++ b/lib/inets/test/httpc_SUITE.erl @@ -2180,7 +2180,7 @@ check_cookie([_Head | Tail]) -> content_length([]) -> 0; -content_length(["content-length:" ++ Value | _]) -> +content_length([{"content-length", Value}|_]) -> list_to_integer(string:strip(Value)); content_length([_Head | Tail]) -> content_length(Tail). |