httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_util.c
Date Tue, 17 Jul 2001 14:38:13 GMT
rse         01/07/17 07:38:12

  Modified:    modules/ssl ssl_util.c
  Log:
  Merge in part of a set of mod_ssl porting changes.
  
  Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
  
  Revision  Changes    Path
  1.8       +2 -2      httpd-2.0/modules/ssl/ssl_util.c
  
  Index: ssl_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_util.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ssl_util.c	2001/06/28 01:05:32	1.7
  +++ ssl_util.c	2001/07/17 14:38:06	1.8
  @@ -74,7 +74,7 @@
       char *id;
       SSLSrvConfigRec *sc;
       char *host;
  -    unsigned int port;
  +    apr_port_t port;
   
       host = s->server_hostname;
       if (s->port != 0)
  @@ -86,7 +86,7 @@
           else
               port = DEFAULT_HTTP_PORT;
       }
  -    id = apr_psprintf(p, "%s:%u", host, port);
  +    id = apr_psprintf(p, "%s:%lu", host, (unsigned long)port);
       return id;
   }
   
  
  
  

Mime
View raw message