diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /networking/ftpgetput.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 17ee8a536..814253b53 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * ftpget | 3 | * ftpget |
4 | * | 4 | * |
5 | * Mini implementation of FTP to retrieve a remote file. | 5 | * Mini implementation of FTP to retrieve a remote file. |
6 | * | 6 | * |
7 | * Copyright (C) 2002 Jeff Angielski, The PTR Group <jeff@theptrgroup.com> | 7 | * Copyright (C) 2002 Jeff Angielski, The PTR Group <jeff@theptrgroup.com> |
@@ -131,7 +131,7 @@ static FILE *ftp_login(ftp_host_info_t *server) | |||
131 | } | 131 | } |
132 | 132 | ||
133 | #ifdef CONFIG_FTPGET | 133 | #ifdef CONFIG_FTPGET |
134 | static int ftp_recieve(ftp_host_info_t *server, FILE *control_stream, | 134 | static int ftp_recieve(ftp_host_info_t *server, FILE *control_stream, |
135 | const char *local_path, char *server_path) | 135 | const char *local_path, char *server_path) |
136 | { | 136 | { |
137 | char buf[512]; | 137 | char buf[512]; |
@@ -203,13 +203,13 @@ static int ftp_recieve(ftp_host_info_t *server, FILE *control_stream, | |||
203 | bb_error_msg_and_die("ftp error: %s", buf + 4); | 203 | bb_error_msg_and_die("ftp error: %s", buf + 4); |
204 | } | 204 | } |
205 | ftpcmd("QUIT", NULL, control_stream, buf); | 205 | ftpcmd("QUIT", NULL, control_stream, buf); |
206 | 206 | ||
207 | return(EXIT_SUCCESS); | 207 | return(EXIT_SUCCESS); |
208 | } | 208 | } |
209 | #endif | 209 | #endif |
210 | 210 | ||
211 | #ifdef CONFIG_FTPPUT | 211 | #ifdef CONFIG_FTPPUT |
212 | static int ftp_send(ftp_host_info_t *server, FILE *control_stream, | 212 | static int ftp_send(ftp_host_info_t *server, FILE *control_stream, |
213 | const char *server_path, char *local_path) | 213 | const char *server_path, char *local_path) |
214 | { | 214 | { |
215 | struct stat sbuf; | 215 | struct stat sbuf; |
@@ -329,8 +329,8 @@ int ftpgetput_main(int argc, char **argv) | |||
329 | server->password = "busybox@"; | 329 | server->password = "busybox@"; |
330 | verbose_flag = 0; | 330 | verbose_flag = 0; |
331 | 331 | ||
332 | /* | 332 | /* |
333 | * Decipher the command line | 333 | * Decipher the command line |
334 | */ | 334 | */ |
335 | bb_applet_long_options = ftpgetput_long_options; | 335 | bb_applet_long_options = ftpgetput_long_options; |
336 | opt = bb_getopt_ulflags(argc, argv, "cvu:p:P:", &server->user, &server->password, &port); | 336 | opt = bb_getopt_ulflags(argc, argv, "cvu:p:P:", &server->user, &server->password, &port); |