summaryrefslogtreecommitdiff
path: root/networking/ftpgetput.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/ftpgetput.c
parent2c91652bbcc82c794c26230806058b04f1711033 (diff)
downloadbusybox-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.zip
busybox-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.tar.gz
next part of ipv6-ization. mostly netcat.
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 51e2302..0e2d417 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -88,7 +88,7 @@ static int xconnect_ftpdata(ftp_host_info_t *server, char *buf)
*buf_ptr = '\0';
port_num += xatoul_range(buf_ptr + 1, 0, 255) * 256;
- set_port(server->lsa, htons(port_num));
+ set_nport(server->lsa, htons(port_num));
return xconnect_stream(server->lsa);
}