summaryrefslogtreecommitdiff
path: root/busybox/networking/ftpgetput.c
diff options
context:
space:
mode:
authorRob Landley2005-08-13 00:26:01 +0000
committerRob Landley2005-08-13 00:26:01 +0000
commitfc455b2101edbf97331384831de2989ce9cdb731 (patch)
tree521f09b4ca5cb42280e51c7618930ea4f0e68dfb /busybox/networking/ftpgetput.c
parent365a345e92c25c60c977aa1596e31a1e6b9cea80 (diff)
downloadbusybox-fc455b2101edbf97331384831de2989ce9cdb731.zip
busybox-fc455b2101edbf97331384831de2989ce9cdb731.tar.gz
1.0 backports of:
10861, 10875, 10881, 10888 ash fix 10865 suid thing? (look at this) 10886 telnet bugfix 10866 ftp fix for RFC 959 compliance. 10867 Remove spurious newline from cp -i prompt. 10874 ksyslogd fix 10876 msh fix 10877 httpd fix 10880, 10889, 11005 dhcp fixes
Diffstat (limited to 'busybox/networking/ftpgetput.c')
-rw-r--r--busybox/networking/ftpgetput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/busybox/networking/ftpgetput.c b/busybox/networking/ftpgetput.c
index f6bd82b..02c21d9 100644
--- a/busybox/networking/ftpgetput.c
+++ b/busybox/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 {