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 core.c
Date Thu, 13 Dec 2001 00:46:40 GMT
wrowe       01/12/12 16:46:40

  Modified:    server   core.c
  Log:
    Periods aren't commas.  Clear out some inappropriate casts while
    we are at it.
  
  Revision  Changes    Path
  1.115     +2 -2      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -r1.114 -r1.115
  --- core.c	2001/12/13 00:43:13	1.114
  +++ core.c	2001/12/13 00:46:40	1.115
  @@ -177,7 +177,7 @@
        * (or creating copies for merging) where new-> values exist.
        */
       conf = (core_dir_config *)apr_palloc(a, sizeof(core_dir_config));
  -    memcpy((char *)conf, (const char *)base, sizeof(core_dir_config));
  +    memcpy(conf, base, sizeof(core_dir_config));
   
       conf->d = new->d;
       conf->d_is_fnmatch = new->d_is_fnmatch;
  @@ -351,7 +351,7 @@
       core_server_config *conf;
   
       conf = (core_server_config *)apr_palloc(p, sizeof(core_server_config));
  -    memcpy(conf. virt, sizeof(core_server_config));
  +    memcpy(conf, virt, sizeof(core_server_config));
       if (!conf->access_name) {
           conf->access_name = base->access_name;
       }
  
  
  

Mime
View raw message