projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35db228
)
Fix http proxy use, bytes were swapped
1_00_pre6
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 31 Jan 2004 08:08:57 +0000
(08:08 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 31 Jan 2004 08:08:57 +0000
(08:08 -0000)
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index 59f78ac3b70e2a4b246daece45a9cf412e8a96be..313e2e6ff160ab234a558c4366a4953a161edf8a 100644
(file)
--- a/
networking/wget.c
+++ b/
networking/wget.c
@@
-320,7
+320,7
@@
int wget_main(int argc, char **argv)
#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);
}
@@
-837,7
+837,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.6
7 2004/01/26 07:17:30 andersen
Exp $
+ * $Id: wget.c,v 1.6
8 2004/01/31 08:08:57 bug1
Exp $
*/