diff options
author | Ingela Andin <[email protected]> | 2019-07-04 08:05:56 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2019-07-04 08:05:56 +0200 |
commit | 8fb06b5b98c0bdc959d82d7e19400047a9188d8d (patch) | |
tree | 6809c05b4176bc2fff48493134152b024fbe9ff9 /lib/inets/test | |
parent | b0a8268780f3f24cbfd9698a0ca08d166bbbd798 (diff) | |
parent | 39dec3155b76dba6d701bee8112d52d4aa61d51a (diff) | |
download | otp-8fb06b5b98c0bdc959d82d7e19400047a9188d8d.tar.gz otp-8fb06b5b98c0bdc959d82d7e19400047a9188d8d.tar.bz2 otp-8fb06b5b98c0bdc959d82d7e19400047a9188d8d.zip |
Merge pull request #2308 from igobul/inets/test/httpc_SUITE
ERL-989: Fix typo in httpc_SUITE:content_length/1
Diffstat (limited to 'lib/inets/test')
-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 1d37e71847..8ca4f21928 100644 --- a/lib/inets/test/httpc_SUITE.erl +++ b/lib/inets/test/httpc_SUITE.erl @@ -2191,7 +2191,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). |