diff options
-rw-r--r-- | networking/wget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c index 6c015dccc..cb169aba3 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -805,6 +805,7 @@ However, in real world it was observed that some web servers | |||
805 | parse_url(str, &target); | 805 | parse_url(str, &target); |
806 | if (!use_proxy) { | 806 | if (!use_proxy) { |
807 | free(server.allocated); | 807 | free(server.allocated); |
808 | server.allocated = NULL; | ||
808 | server.host = target.host; | 809 | server.host = target.host; |
809 | /* strip_ipv6_scope_id(target.host); - no! */ | 810 | /* strip_ipv6_scope_id(target.host); - no! */ |
810 | /* we assume remote never gives us IPv6 addr with scope id */ | 811 | /* we assume remote never gives us IPv6 addr with scope id */ |