[BusyBox-cvs] svn commit: trunk/busybox/networking

pgf at busybox.net pgf at busybox.net
Tue Jul 19 21:26:58 UTC 2005


Author: pgf
Date: 2005-07-19 15:26:57 -0600 (Tue, 19 Jul 2005)
New Revision: 10866

Log:
applying fix from:
    0000108: busyboxy/networking/ftpgetput.c not conforming to
                    RFC 959.  ftpget and ftpput send <LF> as EOL.



Modified:
   trunk/busybox/networking/ftpgetput.c


Changeset:
Modified: trunk/busybox/networking/ftpgetput.c
===================================================================
--- trunk/busybox/networking/ftpgetput.c	2005-07-19 21:21:58 UTC (rev 10865)
+++ trunk/busybox/networking/ftpgetput.c	2005-07-19 21:26:57 UTC (rev 10866)
@@ -65,9 +65,9 @@
 
 	if (s1) {
 		if (s2) {
-			fprintf(stream, "%s%s\n", s1, s2);
+			fprintf(stream, "%s%s\r\n", s1, s2);
 		} else {
-			fprintf(stream, "%s\n", s1);
+			fprintf(stream, "%s\r\n", s1);
 		}
 	}
 	do {




More information about the busybox-cvs mailing list