From e0387a6ee80626bae7c56f9c88253201d1cf0833 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 7 Jun 2006 13:31:59 +0000 Subject: - fix the build if we have ftpput without ftpget (speeling reeoe) Thanks to Stephane Billiart --- networking/ftpgetput.c | 4 ++-- networking/telnetd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'networking') 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) #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]; @@ -303,7 +303,7 @@ int ftpgetput_main(int argc, char **argv) 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 */ diff --git a/networking/telnetd.c b/networking/telnetd.c index f2038395f..9f0eedcc8 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c @@ -109,7 +109,7 @@ static struct tsession *sessions; /* - 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. -- cgit v1.2.3