[BusyBox-cvs] busybox/networking wget.c,1.63,1.64

Glenn McGrath bug1 at busybox.net
Sat Dec 27 00:21:49 UTC 2003


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

Modified Files:
	wget.c 
Log Message:
Fix a bug of mine, identified by Stephane Billiart


Index: wget.c
===================================================================
RCS file: /var/cvs/busybox/networking/wget.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- wget.c	20 Dec 2003 01:47:18 -0000	1.63
+++ wget.c	27 Dec 2003 00:21:47 -0000	1.64
@@ -582,9 +582,8 @@
 	cp = strchr(pp, ':');
 	if (cp != NULL) {
 		*cp++ = '\0';
-		h->port = atoi(cp);
+		h->port = htons(atoi(cp));
 	}
-
 }
 
 




More information about the busybox-cvs mailing list