diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-22 09:36:41 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-22 09:36:41 +0000 |
commit | 85629f08bcea5d4a44b6d511422fd608bbc3fc45 (patch) | |
tree | fc8639d0223328741368e3180d4d1fc3e4f84871 /networking | |
parent | 3c99a599155b970a81de26ffcea6f16940324e62 (diff) | |
download | busybox-85629f08bcea5d4a44b6d511422fd608bbc3fc45.tar.gz |
comment out unused old networking API parts
sockaddr2dotted: return IPV6 addrs in [addr]:port form (was addr:port)
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ftpgetput.c | 2 | ||||
-rw-r--r-- | networking/wget.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 0e2d4173f..ccc0b5e46 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -347,7 +347,7 @@ int ftpgetput_main(int argc, char **argv) * and we want to connect to only one IP... */ server->lsa = host2sockaddr(argv[0], bb_lookup_port(port, "tcp", 21)); if (verbose_flag) { - printf("Connecting to %s [%s]\n", argv[0], + printf("Connecting to %s (%s)\n", argv[0], xmalloc_sockaddr2dotted(&server->lsa->sa, server->lsa->len)); } diff --git a/networking/wget.c b/networking/wget.c index 056d2c7fc..0e0268770 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -235,9 +235,9 @@ int wget_main(int argc, char **argv) * and we want to connect to only one IP... */ lsa = host2sockaddr(server.host, server.port); if (!(opt & WGET_OPT_QUIET)) { - fprintf(stderr, "Connecting to %s [%s]\n", server.host, + fprintf(stderr, "Connecting to %s (%s)\n", server.host, xmalloc_sockaddr2dotted(&lsa->sa, lsa->len)); - /* We leak xmalloc_sockaddr2dotted result */ + /* We leak result of xmalloc_sockaddr2dotted */ } if (use_proxy || !target.is_ftp) { |