httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: httpd-2.0/server util.c
Date Sat, 10 Feb 2001 01:16:11 GMT
dreid       01/02/09 17:16:11

  Modified:    server   util.c
  Log:
  Fix more breakage on BeOS...
  
  Revision  Changes    Path
  1.99      +4 -0      httpd-2.0/server/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util.c,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- util.c	2001/02/08 07:44:19	1.98
  +++ util.c	2001/02/10 01:16:11	1.99
  @@ -1798,7 +1798,11 @@
           if ((!(p = gethostbyname(str))) 
               || (!(server_hostname = find_fqdn(a, p)))) {
               /* Recovery - return the default servername by IP: */
  +#ifndef BEOS
               if (p->h_addr_list[0]) {
  +#else
  +            if (p) {
  +#endif
                   apr_snprintf(str, sizeof(str), "%pA", p->h_addr_list[0]);
   	        server_hostname = apr_pstrdup(a, str);
                   /* We will drop through to report the IP-named server */
  
  
  

Mime
View raw message