diff options
author | Denis Vlasenko | 2007-02-04 02:39:08 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-04 02:39:08 +0000 |
commit | 42823d597a9029ac497edda9102f61283630635b (patch) | |
tree | 848e71f864ad0675e19c8dcdce94c11a5dcc3d7a /networking/wget.c | |
parent | 45854b5e3ff265c23dc36c139f09ea8eb3790ad1 (diff) | |
download | busybox-42823d597a9029ac497edda9102f61283630635b.zip busybox-42823d597a9029ac497edda9102f61283630635b.tar.gz |
add x to IPv6 functions which can die
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; } } |