diff options
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 | ||