summaryrefslogtreecommitdiff
path: root/guix/http-client.scm
diff options
context:
space:
mode:
authorAttila Lendvai <attila@lendvai.name>2022-04-10 15:41:14 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-11 15:49:32 +0200
commit2c73e654fe1b39f8cec6082a068a435ca2b7cfd1 (patch)
tree2b2c45f01a2803fde2eb8ff1a911b664927a475a /guix/http-client.scm
parent3704a7b8978d510a8bbeae0a92ed60ece808f5ac (diff)
http-client: Fix redirection.
* guix/http-client.scm (http-fetch): Use the right uri variable in case of redirection. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/http-client.scm')
-rw-r--r--guix/http-client.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/http-client.scm b/guix/http-client.scm
index 143ed6de31..a367c41afa 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -145,7 +145,7 @@ Raise an '&http-get-error' condition if downloading fails."
(or (not (uri-host uri))
(string=? host (uri-host uri)))
port)
- (open-connection uri*
+ (open-connection uri
#:verify-certificate?
verify-certificate?
#:timeout timeout)))))