diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1997-02-11 20:46:06 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1997-02-11 20:46:06 +0000 |
commit | 857292949cc12d34b8f4b8cdf60cea300c9fb421 (patch) | |
tree | 214b7e477974aef5aff89463a5355226eac10f95 /usr.bin/fetch/util.c | |
parent | 9c4abf41ee596e6a6c7feb437711b1c88d933eb7 (diff) | |
download | src-857292949cc12d34b8f4b8cdf60cea300c9fb421.tar.gz src-857292949cc12d34b8f4b8cdf60cea300c9fb421.zip |
Fix remote request for HTTP proxies. Should close PR#2670.
Notes
Notes:
svn path=/head/; revision=22573
Diffstat (limited to 'usr.bin/fetch/util.c')
-rw-r--r-- | usr.bin/fetch/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/util.c b/usr.bin/fetch/util.c index 698866e968cc..49c11084cc79 100644 --- a/usr.bin/fetch/util.c +++ b/usr.bin/fetch/util.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: util.c,v 1.3 1997/02/05 19:59:18 wollman Exp $ + * $Id: util.c,v 1.4 1997/02/07 17:55:01 wollman Exp $ */ #include <sys/types.h> @@ -167,7 +167,7 @@ parse_host_port(const char *s, char **hostname, int *port) ul = strtoul(colon + 1, &ep, 10); if (*ep != '\0' || colon[1] == '\0' || errno != 0 || ul < 1 || ul > 65534) { - warnx("`%s': invalid port number", s); + warnx("`%s': invalid port number", colon + 1); return EX_USAGE; } |