Date: Mon, 31 Jul 2000 15:17:15 +0900 From: Hajimu UMEMOTO <ume@mahoroba.org> To: jkh@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall media.c variable.c Message-ID: <20000731151715M.ume@mahoroba.org> In-Reply-To: <200007302218.PAA10013@freefall.freebsd.org> References: <200007302218.PAA10013@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Sun, 30 Jul 2000 15:18:54 -0700 (PDT)
>>>>> "Jordan K. Hubbard" <jkh@FreeBSD.org> said:
jkh> jkh 2000/07/30 15:18:54 PDT
jkh> Modified files:
jkh> release/sysinstall media.c variable.c
jkh> Log:
jkh> Fix the HTTP transfer code to correctly parse the port number if
jkh> specified.
Sorry for introducing this bug.
However, this fix doesn't save IPv6 case.
This bug was typo during cut&paste. It should be fixed by applying
following patch to the privious media.c.
Index: media.c
diff -u media.c.orig media.c
--- media.c.orig Fri Jul 14 17:33:08 2000
+++ media.c Mon Jul 31 15:08:40 2000
@@ -479,7 +479,7 @@
*(idx - 1) = '\0';
} else
idx = index(hostname, ':');
- if (idx == NULL || *cp != ':')
+ if (idx == NULL || *idx != ':')
HttpPort = 3128; /* try this as default */
else {
*(idx++) = '\0';
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org ume@bisd.hitachi.co.jp ume@FreeBSD.org
http://www.imasy.org/~ume/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000731151715M.ume>
