httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/metadata mod_unique_id.c
Date Thu, 25 Apr 2002 19:57:32 GMT
trawick     02/04/25 12:57:32

  Modified:    modules/metadata mod_unique_id.c
  Log:
  fix a compiler error with picky compilers that (correctly) don't let
  you add to void *
  
  Revision  Changes    Path
  1.37      +1 -1      httpd-2.0/modules/metadata/mod_unique_id.c
  
  Index: mod_unique_id.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_unique_id.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- mod_unique_id.c	25 Apr 2002 18:04:40 -0000	1.36
  +++ mod_unique_id.c	25 Apr 2002 19:57:32 -0000	1.37
  @@ -222,7 +222,7 @@
   #if APR_HAVE_IPV6
           if ((rv = apr_sockaddr_info_get(&sockaddr, str, AF_INET6, 0, 0, p)) == APR_SUCCESS)
{
               memcpy(&global_in_addr,
  -                   sockaddr->ipaddr_ptr + sockaddr->ipaddr_len - sizeof(global_in_addr),
  +                   (char *)sockaddr->ipaddr_ptr + sockaddr->ipaddr_len - sizeof(global_in_addr),
                      sizeof(global_in_addr));
               ap_log_error(APLOG_MARK, APLOG_ALERT, rv, main_server,
                            "mod_unique_id: using low-order bits of IPv6 address "
  
  
  

Mime
View raw message