aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-07-19 21:26:57 +0000
committerPaul Fox <pgf@brightstareng.com>2005-07-19 21:26:57 +0000
commit146e83a60e802aa2aaa91ff5a60b00f51ee53515 (patch)
tree1d8d7ff7660303ff7980a0d1bd4a9b6f915e5f52
parent127adc559f9c3cc5c20df0c0cc85c4592733f451 (diff)
downloadbusybox-146e83a60e802aa2aaa91ff5a60b00f51ee53515.tar.gz
applying fix from:
0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send <LF> as EOL.
-rw-r--r--networking/ftpgetput.c4
1 files changed, 2 insertions, 2 deletions
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 {