httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server util.c
Date Mon, 14 Oct 2002 00:12:02 GMT
wrowe       2002/10/13 17:12:02

  Modified:    modules/arch/netware mod_nw_ssl.c
               server   util.c
  Log:
    A couple of observations
  
  Revision  Changes    Path
  1.6       +3 -0      httpd-2.0/modules/arch/netware/mod_nw_ssl.c
  
  Index: mod_nw_ssl.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/arch/netware/mod_nw_ssl.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mod_nw_ssl.c	13 Mar 2002 20:47:44 -0000	1.5
  +++ mod_nw_ssl.c	14 Oct 2002 00:12:02 -0000	1.6
  @@ -147,6 +147,9 @@
       hep = gethostbyname(w);
   
       if ((!hep) || (hep->h_addrtype != AF_INET || !hep->h_addr_list[0])) {
  +        /* XXX Should be echoing by r_errno the actual failure, no? 
  +         * ap_log_error would be good here.
  +         */
           fprintf(stderr, "Cannot resolve host name %s --- exiting!\n", w);
           exit(1);
       }
  
  
  
  1.131     +1 -0      httpd-2.0/server/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util.c,v
  retrieving revision 1.130
  retrieving revision 1.131
  diff -u -r1.130 -r1.131
  --- util.c	9 Aug 2002 17:00:44 -0000	1.130
  +++ util.c	14 Oct 2002 00:12:02 -0000	1.131
  @@ -1837,6 +1837,7 @@
       else 
       {
           str[sizeof(str) - 1] = '\0';
  +        /* TODO: Screaming for APR-ization */
           if ((!(p = gethostbyname(str))) 
               || (!(server_hostname = find_fqdn(a, p)))) {
               /* Recovery - return the default servername by IP: */
  
  
  

Mime
View raw message