httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject Re: cvs commit: apache-1.3/src/main http_vhost.c
Date Mon, 02 Feb 1998 20:50:22 GMT
Dean wrote,...
>   +    /* trim a trailing . */
>   +    l = strlen(host);
>   +    if (l > 0 && host[l-1] == '.') {
>   +        host[l-1] = '\0';
>   +    }

Shouldn't that be a "while" instead of an "if"? My browser has no problems
accessing "http://www.apache.org.../" (note the ellipsis!).

> nslookup www.apache.org...
Server:  deejai.mch.sni.de
Address:  139.25.113.10

Non-authoritative answer:
Name:    www.apache.org
Address:  204.62.130.149

Only dig has problems:
> dig www.apache.org...
; <<>> DiG 2.2 <<>> www.apache.org... 
;; res_mkquery: buffer too small

Just wanted to mention..
    Martin
-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message