diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-03-11 18:03:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-03-11 18:03:39 +0000 |
commit | 3f1cf455a02bae721263b2a4c82bc4f26be820af (patch) | |
tree | 9c001279a142ffcc37057064b1b4c20ada184cb1 /networking | |
parent | e68afefe564adbe2896e86aa4bae1617501b6193 (diff) | |
download | busybox-3f1cf455a02bae721263b2a4c82bc4f26be820af.tar.gz |
cope with crappy windoze ftp servers
Diffstat (limited to 'networking')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index bd74cc88f..7154faa11 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 $ */ |