diff options
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 453cce571..25b7f1427 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -275,7 +275,7 @@ static const struct option ftpgetput_long_options[] = { | |||
275 | int ftpgetput_main(int argc, char **argv) | 275 | int ftpgetput_main(int argc, char **argv) |
276 | { | 276 | { |
277 | /* content-length of the file */ | 277 | /* content-length of the file */ |
278 | unsigned long opt; | 278 | unsigned opt; |
279 | char *port = "ftp"; | 279 | char *port = "ftp"; |
280 | 280 | ||
281 | /* socket to ftp server */ | 281 | /* socket to ftp server */ |
@@ -305,9 +305,9 @@ int ftpgetput_main(int argc, char **argv) | |||
305 | * Decipher the command line | 305 | * Decipher the command line |
306 | */ | 306 | */ |
307 | if (ENABLE_FEATURE_FTPGETPUT_LONG_OPTIONS) | 307 | if (ENABLE_FEATURE_FTPGETPUT_LONG_OPTIONS) |
308 | bb_applet_long_options = ftpgetput_long_options; | 308 | applet_long_options = ftpgetput_long_options; |
309 | 309 | ||
310 | opt = bb_getopt_ulflags(argc, argv, "cvu:p:P:", &server->user, &server->password, &port); | 310 | opt = getopt32(argc, argv, "cvu:p:P:", &server->user, &server->password, &port); |
311 | 311 | ||
312 | /* Process the non-option command line arguments */ | 312 | /* Process the non-option command line arguments */ |
313 | if (argc - optind != 3) { | 313 | if (argc - optind != 3) { |