Thanks to Stephane Billiart
#if !ENABLE_FTPGET
#define ftp_receive 0
#else
-static int ftp_recieve(ftp_host_info_t *server, FILE *control_stream,
+static int ftp_receive(ftp_host_info_t *server, FILE *control_stream,
const char *local_path, char *server_path)
{
char buf[512];
ftp_action = ftp_send;
}
if (ENABLE_FTPGET && (!ENABLE_FTPPUT || bb_applet_name[3] == 'g')) {
- ftp_action = ftp_recieve;
+ ftp_action = ftp_receive;
}
/* Set default values */
/*
- Remove all IAC's from the buffer pointed to by bf (recieved IACs are ignored
+ Remove all IAC's from the buffer pointed to by bf (received IACs are ignored
and must be removed so as to not be interpreted by the terminal). Make an
uninterrupted string of characters fit for the terminal. Do this by packing
all characters meant for the terminal sequentially towards the end of bf.