aboutsummaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-12 20:59:31 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-12 20:59:31 +0000
commit5d68724d5b89fbf2856fdfbf36b85ac36a8f4464 (patch)
tree755b7393aab965f03de260a833f77cc4d51e6187 /networking/ftpgetput.c
parent2c91652bbcc82c794c26230806058b04f1711033 (diff)
downloadbusybox-w32-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.tar.gz
busybox-w32-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.tar.bz2
busybox-w32-5d68724d5b89fbf2856fdfbf36b85ac36a8f4464.zip
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 51e230296..0e2d4173f 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -88,7 +88,7 @@ static int xconnect_ftpdata(ftp_host_info_t *server, char *buf)
88 *buf_ptr = '\0'; 88 *buf_ptr = '\0';
89 port_num += xatoul_range(buf_ptr + 1, 0, 255) * 256; 89 port_num += xatoul_range(buf_ptr + 1, 0, 255) * 256;
90 90
91 set_port(server->lsa, htons(port_num)); 91 set_nport(server->lsa, htons(port_num));
92 return xconnect_stream(server->lsa); 92 return xconnect_stream(server->lsa);
93} 93}
94 94