httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.org>
Subject cvs commit: apache/src http_main.c
Date Mon, 28 Jul 1997 09:59:24 GMT
dgaudet     97/07/28 02:59:23

  Modified:    src       http_main.c
  Log:
  Solaris whines about the const struct sockaddr_in.  Silly solaris.
  
  Revision  Changes    Path
  1.188     +1 -1      apache/src/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_main.c,v
  retrieving revision 1.187
  retrieving revision 1.188
  diff -u -r1.187 -r1.188
  --- http_main.c	1997/07/24 04:35:47	1.187
  +++ http_main.c	1997/07/28 09:59:21	1.188
  @@ -1861,7 +1861,7 @@
   /* MPE requires CAP=PM and GETPRIVMODE to bind to ports less than 1024 */
       if (ntohs(server->sin_port) < 1024) GETPRIVMODE();
   #endif
  -    if(bind(s, (const struct sockaddr *)server,sizeof(struct sockaddr_in)) == -1)
  +    if(bind(s, (struct sockaddr *)server,sizeof(struct sockaddr_in)) == -1)
       {
           perror("bind");
   #ifdef MPE
  
  
  

Mime
View raw message