summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
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;
}