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:
6caa073
)
Fix a bug of mine, identified by Stephane Billiart
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 27 Dec 2003 00:21:47 +0000
(
00:21
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 27 Dec 2003 00:21:47 +0000
(
00:21
-0000)
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index 9f5dbaf2130bab784bf5076af6871bf06eb5565d..8bed7369f0ed50a82b6870d8ca37fb2a1039d15b 100644
(file)
--- a/
networking/wget.c
+++ b/
networking/wget.c
@@
-582,9
+582,8
@@
void parse_url(char *url, struct host_info *h)
cp = strchr(pp, ':');
if (cp != NULL) {
*cp++ = '\0';
- h->port =
atoi(cp
);
+ h->port =
htons(atoi(cp)
);
}
-
}
@@
-835,7
+834,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
3 2003/12/20 01:47:18
bug1 Exp $
+ * $Id: wget.c,v 1.6
4 2003/12/27 00:21:47
bug1 Exp $
*/