diff options
author | Paul Fox | 2005-07-19 21:26:57 +0000 |
---|---|---|
committer | Paul Fox | 2005-07-19 21:26:57 +0000 |
commit | 146e83a60e802aa2aaa91ff5a60b00f51ee53515 (patch) | |
tree | 1d8d7ff7660303ff7980a0d1bd4a9b6f915e5f52 /networking/ftpgetput.c | |
parent | 127adc559f9c3cc5c20df0c0cc85c4592733f451 (diff) | |
download | busybox-146e83a60e802aa2aaa91ff5a60b00f51ee53515.zip busybox-146e83a60e802aa2aaa91ff5a60b00f51ee53515.tar.gz |
applying fix from:
0000108: busyboxy/networking/ftpgetput.c not conforming to
RFC 959. ftpget and ftpput send <LF> as EOL.
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index f6bd82b..02c21d9 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 { |