Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
0709-Fix-typo-in-httpc_SUITE-content_length-1.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0709-Fix-typo-in-httpc_SUITE-content_length-1.patch of Package erlang
From 39dec3155b76dba6d701bee8112d52d4aa61d51a Mon Sep 17 00:00:00 2001 From: Igor Bulanov <igor.bulanov@eltex-co.ru> Date: Fri, 28 Jun 2019 09:49:57 +0700 Subject: [PATCH] Fix typo in httpc_SUITE:content_length/1 --- lib/inets/test/httpc_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor