diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 23:12:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 23:12:49 +0000 |
commit | 000b9ba91f64a348d697fb22a546cfb4db1d9f0e (patch) | |
tree | a36bca5413a3305c46a24a95f45556125ebc2508 /networking | |
parent | de59c0f58fa5dc75b753f94da61be92bfa0935ec (diff) | |
download | busybox-000b9ba91f64a348d697fb22a546cfb4db1d9f0e.tar.gz |
eject: -T fix
Diffstat (limited to 'networking')
-rw-r--r-- | networking/tftp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 5f0c190e2..bfe94aca2 100644 --- a/networking/tftp.c +++ b/networking/tftp.c @@ -502,9 +502,7 @@ int tftp_main(int argc, char **argv) opt_complementary = GET_COMPL PUT_COMPL; #endif - - cmd = getopt32(argc, argv, GET PUT "l:r:" BS, - &localfile, &remotefile BS_ARG); + cmd = getopt32(argc, argv, GET PUT "l:r:" BS, &localfile, &remotefile BS_ARG); cmd &= (tftp_cmd_get | tftp_cmd_put); #ifdef CONFIG_FEATURE_TFTP_GET @@ -559,5 +557,5 @@ int tftp_main(int argc, char **argv) if (cmd == tftp_cmd_get && result != EXIT_SUCCESS) unlink(localfile); } - return (result); + return result; } |