http-client-functions.pl: Fixes bug13852
Commit Message
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(-)
Comments
Good catch.
Thank you.
Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
Am 20. Mai 2025 12:57:48 schrieb Adolf Belka <adolf.belka@ipfire.org>:
> 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
@@ -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}) {