summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-05 23:12:49 +0000
committerDenis Vlasenko2006-10-05 23:12:49 +0000
commit000b9ba91f64a348d697fb22a546cfb4db1d9f0e (patch)
treea36bca5413a3305c46a24a95f45556125ebc2508 /networking
parentde59c0f58fa5dc75b753f94da61be92bfa0935ec (diff)
downloadbusybox-000b9ba91f64a348d697fb22a546cfb4db1d9f0e.zip
busybox-000b9ba91f64a348d697fb22a546cfb4db1d9f0e.tar.gz
eject: -T fix
Diffstat (limited to 'networking')
-rw-r--r--networking/tftp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/tftp.c b/networking/tftp.c
index 5f0c190..bfe94ac 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;
}