diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 1999-02-03 20:24:53 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 1999-02-03 20:24:53 +0000 |
| commit | 93eb50393dfea7ab2f4d8b031f7072e2d8cf9bd2 (patch) | |
| tree | d237feee80dcdcdc9b24bba03e69596c18804021 /usr.bin/fetch | |
| parent | f1689b7f230228fec6408426f96832b9e0b7de3d (diff) | |
Notes
Diffstat (limited to 'usr.bin/fetch')
| -rw-r--r-- | usr.bin/fetch/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/fetch/http.c b/usr.bin/fetch/http.c index 2f08c1d2be0f..e6795eb593b9 100644 --- a/usr.bin/fetch/http.c +++ b/usr.bin/fetch/http.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: http.c,v 1.23 1999/01/15 16:56:22 wollman Exp $ + * $Id: http.c,v 1.24 1999/01/15 17:10:31 wollman Exp $ */ #include <sys/types.h> @@ -165,7 +165,7 @@ http_parse(struct fetch_state *fs, const char *u) strncat(hostname, p, q - p); p = slash; - if (colon && colon + 1 != slash) { + if (q == colon && colon + 1 != slash) { unsigned long ul; char *ep; |
