File 0607-inets-rename-variable.patch of Package erlang

From 86ee88ac35cec75a39229d8a09ea6cf32210b150 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Tue, 14 Feb 2023 09:15:28 +0100
Subject: [PATCH 2/2] inets: rename variable

---
 lib/inets/src/http_client/httpc_manager.erl | 4 ++--
 1 file 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;
-- 
2.35.3

openSUSE Build Service is sponsored by