[patch] typo in ftpgetput.c

Stephane Billiart stephane.billiart at gmail.com
Wed Jun 7 09:37:48 UTC 2006


Attached patch fixes the build if we have ftpput without ftpget,
broken since r14997.

-- 
Stéphane Billiart                      http://perso.orange.fr/billiart/
-------------- next part --------------
Index: networking/ftpgetput.c
===================================================================
--- networking/ftpgetput.c	(revision 15301)
+++ networking/ftpgetput.c	(working copy)
@@ -117,7 +117,7 @@
 #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 @@
 		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 */


More information about the busybox mailing list