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 e1a4bab..e649ccd 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -234,7 +234,7 @@ int wget_main(int argc, char **argv) /* We want to do exactly _one_ DNS lookup, since some * sites (i.e. ftp.us.debian.org) use round-robin DNS * and we want to connect to only one IP... */ - lsa = host2sockaddr(server.host, server.port); + lsa = xhost2sockaddr(server.host, server.port); if (!(opt & WGET_OPT_QUIET)) { fprintf(stderr, "Connecting to %s (%s)\n", server.host, xmalloc_sockaddr2dotted(&lsa->sa, lsa->len)); @@ -354,7 +354,7 @@ int wget_main(int argc, char **argv) server.port = target.port; } free(lsa); - lsa = host2sockaddr(server.host, server.port); + lsa = xhost2sockaddr(server.host, server.port); break; } } |