httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_file_cache.c
Date Wed, 26 Jul 2000 14:03:08 GMT
trawick     00/07/26 07:03:08

  Modified:    src/modules/standard mod_file_cache.c
  Log:
  Fix some compile warnings in mod_file_cache.
  Submitted by:	Greg Ames
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.20      +3 -3      apache-2.0/src/modules/standard/mod_file_cache.c
  
  Index: mod_file_cache.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_file_cache.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- mod_file_cache.c	2000/07/25 00:58:21	1.19
  +++ mod_file_cache.c	2000/07/26 14:03:08	1.20
  @@ -391,7 +391,7 @@
           ap_send_mmap (file->mm, r, 0, file->finfo.size);
       }
       else {
  -        long length;
  +        ap_size_t length;
           ap_off_t offset;
           while (ap_each_byterange(r, &offset, &length)) {
               ap_send_mmap(file->mm, r, offset, length);
  @@ -406,7 +406,7 @@
   #if APR_HAS_SENDFILE
       ap_size_t length, nbytes;
       ap_off_t offset = 0;
  -    ap_status_t rv; 
  +    ap_status_t rv = APR_EINIT;
   
       if (!rangestatus) {
           rv = ap_send_fd(file->file, r, 0, file->finfo.size, &nbytes);
  @@ -562,7 +562,7 @@
       ap_hook_translate_name(file_cache_xlat, aszPre, NULL, AP_HOOK_MIDDLE); 
       */
   
  -};
  +}
   
   static const handler_rec file_cache_handlers[] =
   {
  
  
  

Mime
View raw message