aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-01-31 08:08:57 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-01-31 08:08:57 +0000
commite51384120ec91fab27ae6f503dc24cd64cadb072 (patch)
tree5ec458091c9a8900451a2653ca002483fcc33933 /networking
parente50d4526b66d58465402a031a1d88b6adead5622 (diff)
downloadbusybox-w32-e51384120ec91fab27ae6f503dc24cd64cadb072.tar.gz
busybox-w32-e51384120ec91fab27ae6f503dc24cd64cadb072.tar.bz2
busybox-w32-e51384120ec91fab27ae6f503dc24cd64cadb072.zip
Fix http proxy use, bytes were swapped
git-svn-id: svn://busybox.net/trunk/busybox@8385 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/wget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 59f78ac3b..313e2e6ff 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -320,7 +320,7 @@ int wget_main(int argc, char **argv)
320#endif 320#endif
321 fprintf(sfp, format, 321 fprintf(sfp, format,
322 target.is_ftp ? "f" : "ht", target.host, 322 target.is_ftp ? "f" : "ht", target.host,
323 target.port, target.path); 323 ntohs(target.port), target.path);
324 } else { 324 } else {
325 fprintf(sfp, "GET /%s HTTP/1.1\r\n", target.path); 325 fprintf(sfp, "GET /%s HTTP/1.1\r\n", target.path);
326 } 326 }
@@ -837,7 +837,7 @@ progressmeter(int flag)
837 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 837 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
838 * SUCH DAMAGE. 838 * SUCH DAMAGE.
839 * 839 *
840 * $Id: wget.c,v 1.67 2004/01/26 07:17:30 andersen Exp $ 840 * $Id: wget.c,v 1.68 2004/01/31 08:08:57 bug1 Exp $
841 */ 841 */
842 842
843 843