aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 8103aacee..33c93bad3 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -1335,6 +1335,7 @@ However, in real world it was observed that some web servers
/* server.user remains untouched */
free(server.allocated);
server.allocated = NULL;
+ server.protocol = target.protocol;
server.host = target.host;
/* strip_ipv6_scope_id(target.host); - no! */
/* we assume remote never gives us IPv6 addr with scope id */