aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ftpgetput.c4
-rw-r--r--networking/telnetd.c2
2 files changed, 3 insertions, 3 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 */
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;
109 109
110/* 110/*
111 111
112 Remove all IAC's from the buffer pointed to by bf (recieved IACs are ignored 112 Remove all IAC's from the buffer pointed to by bf (received IACs are ignored
113 and must be removed so as to not be interpreted by the terminal). Make an 113 and must be removed so as to not be interpreted by the terminal). Make an
114 uninterrupted string of characters fit for the terminal. Do this by packing 114 uninterrupted string of characters fit for the terminal. Do this by packing
115 all characters meant for the terminal sequentially towards the end of bf. 115 all characters meant for the terminal sequentially towards the end of bf.