summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-27 16:49:31 +0000
committerDenis Vlasenko2006-11-27 16:49:31 +0000
commit079f8afa0a16112cbaf7012c82b38b7358b82141 (patch)
tree0d8cba8e45b1a8b975e0b8c7a8377703ab5547a6 /networking
parent10d0d4eec7e3a292917f43f72afae20341d9ba11 (diff)
downloadbusybox-079f8afa0a16112cbaf7012c82b38b7358b82141.zip
busybox-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.gz
style cleanup: return(a) -> return a, part 1
Diffstat (limited to 'networking')
-rw-r--r--networking/ftpgetput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 3773f99..1facfa3 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]);
}