aboutsummaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-07 13:31:59 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-07 13:31:59 +0000
commite0387a6ee80626bae7c56f9c88253201d1cf0833 (patch)
treeb046e277926958cfbe6b8b972a7c053b5e56d2bf /networking/ftpgetput.c
parent0753f4a15e34149c47ae9a886328803e03289a85 (diff)
downloadbusybox-w32-e0387a6ee80626bae7c56f9c88253201d1cf0833.tar.gz
busybox-w32-e0387a6ee80626bae7c56f9c88253201d1cf0833.tar.bz2
busybox-w32-e0387a6ee80626bae7c56f9c88253201d1cf0833.zip
- fix the build if we have ftpput without ftpget (speeling reeoe)
Thanks to Stephane Billiart
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 4be49c5a9..9f3c78976 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -117,7 +117,7 @@ static FILE *ftp_login(ftp_host_info_t *server)
117#if !ENABLE_FTPGET 117#if !ENABLE_FTPGET
118#define ftp_receive 0 118#define ftp_receive 0
119#else 119#else
120static int ftp_recieve(ftp_host_info_t *server, FILE *control_stream, 120static int ftp_receive(ftp_host_info_t *server, FILE *control_stream,
121 const char *local_path, char *server_path) 121 const char *local_path, char *server_path)
122{ 122{
123 char buf[512]; 123 char buf[512];
@@ -303,7 +303,7 @@ int ftpgetput_main(int argc, char **argv)
303 ftp_action = ftp_send; 303 ftp_action = ftp_send;
304 } 304 }
305 if (ENABLE_FTPGET && (!ENABLE_FTPPUT || bb_applet_name[3] == 'g')) { 305 if (ENABLE_FTPGET && (!ENABLE_FTPPUT || bb_applet_name[3] == 'g')) {
306 ftp_action = ftp_recieve; 306 ftp_action = ftp_receive;
307 } 307 }
308 308
309 /* Set default values */ 309 /* Set default values */