You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Greg Ames <gr...@raleigh.ibm.com> on 2000/07/13 19:04:31 UTC

[PATCH] mod_file_cache

Fix a type mismatch warning, and get rid of an extra semicolon.  Thanks,
Victor.

Greg

Index: src/modules/standard/mod_file_cache.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_file_cache.c,v
retrieving revision 1.17
diff -u -d -b -r1.17 mod_file_cache.c
--- mod_file_cache.c    2000/07/10 21:49:22     1.17
+++ mod_file_cache.c    2000/07/13 16:58:34
@@ -388,7 +388,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);
@@ -559,7 +559,7 @@
     ap_hook_translate_name(file_cache_xlat, aszPre, NULL,
AP_HOOK_MIDDLE); 
     */
 
-};
+}
 
 static const handler_rec file_cache_handlers[] =
 {

Re: [PATCH] mod_file_cache

Posted by Greg Ames <gr...@raleigh.ibm.com>.
Greg Ames wrote:
> 
> Fix a type mismatch warning, and get rid of an extra semicolon.  Thanks,
> Victor.
> 
line wrap &@#$!!!  sorry about that...Greg

Index: modules/standard/mod_file_cache.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_file_cache.c,v
retrieving revision 1.17
diff -u -d -b -r1.17 mod_file_cache.c
--- mod_file_cache.c    2000/07/10 21:49:22     1.17
+++ mod_file_cache.c    2000/07/13 17:40:49
@@ -388,7 +388,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);
@@ -559,7 +559,7 @@
     ap_hook_translate_name(file_cache_xlat, aszPre, NULL, AP_HOOK_MIDDLE); 
     */
 
-};
+}
 
 static const handler_rec file_cache_handlers[] =
 {