diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-07 17:52:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-07 17:52:20 +0200 |
commit | ca18311d0ae16a96e988df15a9009095f93df85e (patch) | |
tree | 2122c871968c5239049c18b785c2ff27c6593f4f /networking/ftpgetput.c | |
parent | 8e23fafadee75bbe275bb795d0b2c2121dad93e7 (diff) | |
download | busybox-w32-ca18311d0ae16a96e988df15a9009095f93df85e.tar.gz busybox-w32-ca18311d0ae16a96e988df15a9009095f93df85e.tar.bz2 busybox-w32-ca18311d0ae16a96e988df15a9009095f93df85e.zip |
libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index c68d0ace2..09c5ff30f 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -151,7 +151,7 @@ TODO2: need to stop ignoring IP address in PASV response. | |||
151 | *buf_ptr = '\0'; | 151 | *buf_ptr = '\0'; |
152 | port_num += xatoul_range(buf_ptr + 1, 0, 255) * 256; | 152 | port_num += xatoul_range(buf_ptr + 1, 0, 255) * 256; |
153 | 153 | ||
154 | set_nport(lsa, htons(port_num)); | 154 | set_nport(&lsa->u.sa, htons(port_num)); |
155 | return xconnect_stream(lsa); | 155 | return xconnect_stream(lsa); |
156 | } | 156 | } |
157 | 157 | ||