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/mpm/beos beos.c
Date Wed, 14 Feb 2001 13:35:05 GMT
dreid       01/02/14 05:35:05

  Modified:    server/mpm/beos beos.c
  Log:
  Beos R5 and below don't have the sin_len member in sockaddr_in so don't
  try and use it.
  
  Revision  Changes    Path
  1.43      +2 -0      httpd-2.0/server/mpm/beos/beos.c
  
  Index: beos.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/beos/beos.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- beos.c	2001/02/13 23:32:21	1.42
  +++ beos.c	2001/02/14 13:35:05	1.43
  @@ -650,7 +650,9 @@
       }
   
       /* now build the udp sockaddr_in structure... */
  +#ifdef BEOS_BONE
       udpsi.sin_len = sizeof(struct sockaddr_in);
  +#endif
       udpsi.sin_family = AF_INET;
       udpsi.sin_port = htons(7777);
       udpsi.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
  
  
  

Mime
View raw message