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) | |
download | busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.gz busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.bz2 busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.zip |
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) | |||
100 | 100 | ||
101 | ftpcmd("TYPE I", NULL, control_stream, buf); | 101 | ftpcmd("TYPE I", NULL, control_stream, buf); |
102 | 102 | ||
103 | return(control_stream); | 103 | return control_stream; |
104 | } | 104 | } |
105 | 105 | ||
106 | #if !ENABLE_FTPGET | 106 | #if !ENABLE_FTPGET |
@@ -187,7 +187,7 @@ int ftp_receive(ftp_host_info_t *server, FILE *control_stream, | |||
187 | } | 187 | } |
188 | ftpcmd("QUIT", NULL, control_stream, buf); | 188 | ftpcmd("QUIT", NULL, control_stream, buf); |
189 | 189 | ||
190 | return(EXIT_SUCCESS); | 190 | return EXIT_SUCCESS; |
191 | } | 191 | } |
192 | #endif | 192 | #endif |
193 | 193 | ||
@@ -252,7 +252,7 @@ int ftp_send(ftp_host_info_t *server, FILE *control_stream, | |||
252 | } | 252 | } |
253 | ftpcmd("QUIT", NULL, control_stream, buf); | 253 | ftpcmd("QUIT", NULL, control_stream, buf); |
254 | 254 | ||
255 | return(EXIT_SUCCESS); | 255 | return EXIT_SUCCESS; |
256 | } | 256 | } |
257 | #endif | 257 | #endif |
258 | 258 | ||
@@ -338,5 +338,5 @@ int ftpgetput_main(int argc, char **argv) | |||
338 | /* Connect/Setup/Configure the FTP session */ | 338 | /* Connect/Setup/Configure the FTP session */ |
339 | control_stream = ftp_login(server); | 339 | control_stream = ftp_login(server); |
340 | 340 | ||
341 | return(ftp_action(server, control_stream, argv[optind + 1], argv[optind + 2])); | 341 | return ftp_action(server, control_stream, argv[optind + 1], argv[optind + 2]); |
342 | } | 342 | } |