[BusyBox-cvs] busybox/networking wget.c,1.67,1.68

Glenn McGrath bug1 at busybox.net
Sat Jan 31 08:09:00 UTC 2004


Update of /var/cvs/busybox/networking
In directory nail:/tmp/cvs-serv20614/networking

Modified Files:
	wget.c 
Log Message:
Fix http proxy use, bytes were swapped


Index: wget.c
===================================================================
RCS file: /var/cvs/busybox/networking/wget.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- wget.c	26 Jan 2004 07:17:30 -0000	1.67
+++ wget.c	31 Jan 2004 08:08:57 -0000	1.68
@@ -320,7 +320,7 @@
 #endif
 				fprintf(sfp, format,
 					target.is_ftp ? "f" : "ht", target.host,
-					target.port, target.path);
+					ntohs(target.port), target.path);
 			} else {
 				fprintf(sfp, "GET /%s HTTP/1.1\r\n", target.path);
 			}




More information about the busybox-cvs mailing list