From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <development+bounces-458-archive=lists.ipfire.org@lists.ipfire.org>
Received: from mail02.haj.ipfire.org (localhost [127.0.0.1])
	by mail02.haj.ipfire.org (Postfix) with ESMTP id 4b1s2z1YNDz32fc
	for <archive@lists.ipfire.org>; Tue, 20 May 2025 10:57:47 +0000 (UTC)
Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK))
	by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4b1s2v5VxYz2y9V
	for <development@lists.ipfire.org>; Tue, 20 May 2025 10:57:43 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mail01.ipfire.org (Postfix) with ESMTPSA id 4b1s2t52H4z1TM;
	Tue, 20 May 2025 10:57:42 +0000 (UTC)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org;
	s=202003ed25519; t=1747738662;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding;
	bh=nDIGG24Xs0a025nsngbPctA6ssEfTdN6UVDtM0DEEXg=;
	b=YFi/auBtrVoiZ2Q/bXDs43CRSFBPvZVHO7Jm/YfzeO/vDPUfxixj8beRPPlo6DcLTSSTLg
	ZzZebESYWEQ3aMBw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa;
	t=1747738662;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding;
	bh=nDIGG24Xs0a025nsngbPctA6ssEfTdN6UVDtM0DEEXg=;
	b=bHYY72dGTuek0ZMS7M3qE5jDH/5AYDGDteS/gnGVGO96CGrAGxTIOlyZD+UKR49cM44nHK
	5o/PEbzki4UOaHUSQ88tNRd97CtZVs7xTX/IIqIPz9qYnATjX2wzdtcjV65yA28G4WGp6D
	IxEKvxmtAYeFDV0wyWj3Zi2OyOR1R57msAwAGSlTmakteM+4NmZImXVUgt/J5J3S62syES
	1RvMpP3Xp2hMl3vlcK/VbJdcQ+HwYAsm0s6IRS2k4j7lF85Zr2LTicAToIr8UR+Y3gHhfu
	Og94Opp9Q62FF3YmCdKCn910VlBzEgz4GO9bFeHB+ct3+Oq0Dr6Lw+kIhEmN9g==
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>,
	Adam G <ag@ipfire.org>
Subject: [PATCH] http-client-functions.pl: Fixes bug13852
Date: Tue, 20 May 2025 12:57:39 +0200
Message-ID: <20250520105739.7264-1-adolf.belka@ipfire.org>
Precedence: list
List-Id: <development.lists.ipfire.org>
List-Subscribe: <https://lists.ipfire.org/>,
 <mailto:development+subscribe@lists.ipfire.org?subject=subscribe>
List-Unsubscribe: <https://lists.ipfire.org/>,
 <mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe>
List-Post: <mailto:development@lists.ipfire.org>
List-Help: <mailto:development+help@lists.ipfire.org?subject=help>
Sender: <development@lists.ipfire.org>
Mail-Followup-To: <development@lists.ipfire.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Suggested-by: Adam G <ag@ipfire.org>
Fixes: bug13852
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Tested-by: Adam G <ag@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/cfgroot/http-client-functions.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/cfgroot/http-client-functions.pl b/config/cfgroot/http-client-functions.pl
index 51687ffde..7f7675bbf 100644
--- a/config/cfgroot/http-client-functions.pl
+++ b/config/cfgroot/http-client-functions.pl
@@ -178,7 +178,7 @@ sub downloader (%) {
 	# Check if an file for etags has been given.
 	if ($etags_file) {
 		# Read-in Etags file for known Etags if the file is present.
-		&readhash("$etags_file", \%etags) if (-f $etags_file);
+		&General::readhash("$etags_file", \%etags) if (-f $etags_file);
 
 		# Check if an Etag for the requested file is stored.
 		if ($etags{$etagprefix}) {
-- 
2.49.0