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 listen.c
Date Thu, 26 Jul 2001 16:36:40 GMT
wrowe       01/07/26 09:36:40

  Modified:    server   listen.c
  Log:
    Terniaries are broken under MSVC, they never did resolve how to resolve
    the type of an obvious conversion like this one.  Even casting the const
    to an apr_port_t doesn't solve it.
  
  Revision  Changes    Path
  1.59      +1 -1      httpd-2.0/server/listen.c
  
  Index: listen.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/listen.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- listen.c	2001/07/25 17:59:37	1.58
  +++ listen.c	2001/07/26 16:36:40	1.59
  @@ -276,7 +276,7 @@
   
       /* allocate a default listener if necessary */
       if (ap_listeners == NULL) {
  -	alloc_listener(process, NULL, port ? port : DEFAULT_HTTP_PORT);
  +	alloc_listener(process, NULL, (apr_port_t)(port ? port : DEFAULT_HTTP_PORT));
       }
   
       num_open = 0;
  
  
  

Mime
View raw message