diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:31 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-27 16:49:31 +0000 |
commit | 079f8afa0a16112cbaf7012c82b38b7358b82141 (patch) | |
tree | 0d8cba8e45b1a8b975e0b8c7a8377703ab5547a6 /networking/ftpgetput.c | |
parent | 10d0d4eec7e3a292917f43f72afae20341d9ba11 (diff) |
style cleanup: return(a) -> return a, part 1
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 3773f9937..1facfa3d8 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -100,7 +100,7 @@ static FILE *ftp_login(ftp_host_info_t *server) ftpcmd("TYPE I", NULL, control_stream, buf); - return(control_stream); + return control_stream; } #if !ENABLE_FTPGET @@ -187,7 +187,7 @@ int ftp_receive(ftp_host_info_t *server, FILE *control_stream, } ftpcmd("QUIT", NULL, control_stream, buf); - return(EXIT_SUCCESS); + return EXIT_SUCCESS; } #endif @@ -252,7 +252,7 @@ int ftp_send(ftp_host_info_t *server, FILE *control_stream, } ftpcmd("QUIT", NULL, control_stream, buf); - return(EXIT_SUCCESS); + return EXIT_SUCCESS; } #endif @@ -338,5 +338,5 @@ int ftpgetput_main(int argc, char **argv) /* Connect/Setup/Configure the FTP session */ control_stream = ftp_login(server); - return(ftp_action(server, control_stream, argv[optind + 1], argv[optind + 2])); + return ftp_action(server, control_stream, argv[optind + 1], argv[optind + 2]); } |