[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [BusyBox-cvs] busybox/networking wget.c,1.63,1.64
From:       bug1 () busybox ! net (Glenn McGrath)
Date:       2003-12-26 17:21:51
Message-ID: 20031227002150.D77E5B40C9 () codepoet ! org
[Download RAW message or body]

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));
 	}
-
 }
 
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic