Date: Tue, 9 Aug 2005 03:32:29 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c Message-ID: <200508090332.j793WTUP077454@repoman.freebsd.org>
index | next in thread | raw e-mail
cperciva 2005-08-09 03:32:29 UTC
FreeBSD src repository
Modified files:
usr.sbin/portsnap/phttpget phttpget.c
Log:
When parsing the HTTP_PROXY environment variable, strip a trailing /
from the port number (if any exists). This unbreaks
env HTTP_PROXY="http://localhost:3128/" portsnap fetch
While I'm here, list both the host and the port in the error message
output if getaddrinfo() fails, since either of them could be responsible
for the failure.
Revision Changes Path
1.2 +5 -1 src/usr.sbin/portsnap/phttpget/phttpget.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508090332.j793WTUP077454>
