applying fix from:

0000108: busyboxy/networking/ftpgetput.c not conforming to
                    RFC 959.  ftpget and ftpput send <LF> as EOL.
This commit is contained in:
Paul Fox 2005-07-19 21:26:57 +00:00
parent 127adc559f
commit 146e83a60e

View File

@ -65,9 +65,9 @@ static int ftpcmd(const char *s1, const char *s2, FILE *stream, char *buf)
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 {