From: Paul Fox Date: Tue, 19 Jul 2005 21:26:57 +0000 (-0000) Subject: applying fix from: X-Git-Tag: 1_1_0~902 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=146e83a60e802aa2aaa91ff5a60b00f51ee53515;p=oweals%2Fbusybox.git applying fix from: 0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send as EOL. --- diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index f6bd82bc8..02c21d9e1 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -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 {