summaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-12 20:59:31 +0000
committerDenis Vlasenko2007-01-12 20:59:31 +0000
commit5d68724d5b89fbf2856fdfbf36b85ac36a8f4464 (patch)
tree755b7393aab965f03de260a833f77cc4d51e6187 /networking/wget.c
parent2c91652bbcc82c794c26230806058b04f1711033 (diff)
downloadbusybox-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.zip
busybox-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.tar.gz
next part of ipv6-ization. mostly netcat.
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 22e6106..cc768db 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -432,7 +432,7 @@ int wget_main(int argc, char **argv)
s = strrchr(buf, ',');
if (!s) goto pasv_error;
port += xatou_range(s+1, 0, 255) * 256;
- set_port(lsa, htons(port));
+ set_nport(lsa, htons(port));
dfp = open_socket(lsa);
if (beg_range) {