diff options
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index 22e610699..cc768db8b 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) { |