diff options
author | Kiko Fernandez-Reyes <kiko@erlang.org> | 2023-02-14 09:15:28 +0100 |
---|---|---|
committer | Kiko Fernandez-Reyes <kiko@erlang.org> | 2023-02-16 13:00:51 +0100 |
commit | 86ee88ac35cec75a39229d8a09ea6cf32210b150 (patch) | |
tree | 4c91cdd31a9745f87fedc4769afb0cb846380c79 /lib | |
parent | b158cdf35ab17fce69a75b9561b262c8be706665 (diff) | |
download | erlang-86ee88ac35cec75a39229d8a09ea6cf32210b150.tar.gz |
inets: rename variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inets/src/http_client/httpc_manager.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_client/httpc_manager.erl b/lib/inets/src/http_client/httpc_manager.erl index 95d6bffbb3..2a2fb6008f 100644 --- a/lib/inets/src/http_client/httpc_manager.erl +++ b/lib/inets/src/http_client/httpc_manager.erl @@ -474,9 +474,9 @@ handle_call({which_cookies, Url, Options}, _, ?hcrv("which cookies", [{url, Url}, {options, Options}]), case uri_parse(Url) of {ok, {Scheme, Host, Port, Path}} -> - CookieHeaders = + CookieHeader = httpc_cookie:header(CookieDb, erlang:list_to_existing_atom(Scheme), {Host, Port}, Path), - {reply, CookieHeaders, State}; + {reply, CookieHeader, State}; {error, _} = ERROR -> {reply, ERROR, State} end; |