summaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorEric Andersen2003-03-11 18:03:39 +0000
committerEric Andersen2003-03-11 18:03:39 +0000
commit3f1cf455a02bae721263b2a4c82bc4f26be820af (patch)
tree9c001279a142ffcc37057064b1b4c20ada184cb1 /networking/wget.c
parente68afefe564adbe2896e86aa4bae1617501b6193 (diff)
downloadbusybox-3f1cf455a02bae721263b2a4c82bc4f26be820af.zip
busybox-3f1cf455a02bae721263b2a4c82bc4f26be820af.tar.gz
cope with crappy windoze ftp servers
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index bd74cc8..7154faa 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -639,7 +639,7 @@ static int ftpcmd(char *s1, char *s2, FILE *fp, char *buf)
if (s1) {
if (!s2) s2="";
- fprintf(fp, "%s%s\n", s1, s2);
+ fprintf(fp, "%s%s\r\n", s1, s2);
fflush(fp);
}
@@ -824,7 +824,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wget.c,v 1.51 2002/07/12 00:04:46 sandman Exp $
+ * $Id: wget.c,v 1.52 2003/03/11 18:03:39 andersen Exp $
*/