httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Date Thu, 07 Mar 2002 22:48:37 GMT
stoddard    02/03/07 14:48:37

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  Deconstify...
  
  Revision  Changes    Path
  1.28      +2 -2      httpd-2.0/modules/experimental/mod_mem_cache.c
  
  Index: mod_mem_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- mod_mem_cache.c	7 Mar 2002 22:26:33 -0000	1.27
  +++ mod_mem_cache.c	7 Mar 2002 22:48:37 -0000	1.28
  @@ -626,14 +626,14 @@
           if (!obj->info.content_type) {
               return APR_ENOMEM;
           }
  -        strcpy((char*) obj->info.content_type, info->content_type);
  +        strcpy(obj->info.content_type, info->content_type);
       }
       if ( info->filename) {
           obj->info.filename = (char*) calloc(1, strlen(info->filename) + 1);
           if (!obj->info.filename ) {
               return APR_ENOMEM;
           }
  -        strcpy((char*) obj->info.filename, info->filename );
  +        strcpy(obj->info.filename, info->filename );
       }
   
       return APR_SUCCESS;
  
  
  

Mime
View raw message