diff options
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index e1a4bab0d..e649ccdda 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -234,7 +234,7 @@ int wget_main(int argc, char **argv) | |||
234 | /* We want to do exactly _one_ DNS lookup, since some | 234 | /* We want to do exactly _one_ DNS lookup, since some |
235 | * sites (i.e. ftp.us.debian.org) use round-robin DNS | 235 | * sites (i.e. ftp.us.debian.org) use round-robin DNS |
236 | * and we want to connect to only one IP... */ | 236 | * and we want to connect to only one IP... */ |
237 | lsa = host2sockaddr(server.host, server.port); | 237 | lsa = xhost2sockaddr(server.host, server.port); |
238 | if (!(opt & WGET_OPT_QUIET)) { | 238 | if (!(opt & WGET_OPT_QUIET)) { |
239 | fprintf(stderr, "Connecting to %s (%s)\n", server.host, | 239 | fprintf(stderr, "Connecting to %s (%s)\n", server.host, |
240 | xmalloc_sockaddr2dotted(&lsa->sa, lsa->len)); | 240 | xmalloc_sockaddr2dotted(&lsa->sa, lsa->len)); |
@@ -354,7 +354,7 @@ int wget_main(int argc, char **argv) | |||
354 | server.port = target.port; | 354 | server.port = target.port; |
355 | } | 355 | } |
356 | free(lsa); | 356 | free(lsa); |
357 | lsa = host2sockaddr(server.host, server.port); | 357 | lsa = xhost2sockaddr(server.host, server.port); |
358 | break; | 358 | break; |
359 | } | 359 | } |
360 | } | 360 | } |