cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c
Colin Percival
cperciva at FreeBSD.org
Tue Aug 9 03:32:30 GMT 2005
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
More information about the cvs-src
mailing list