httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <v.j.orlikow...@gte.net>
Subject [PATCH] Compile fixes in mod_mmap_static
Date Wed, 12 Jul 2000 18:39:22 GMT
Fixes minor bugs (unneeded semi, and a differing type).


Index: src/modules/experimental/mod_mmap_static.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/experimental/mod_mmap_static.c,v
retrieving revision 1.17
diff -u -r1.17 mod_mmap_static.c
--- mod_mmap_static.c	2000/07/05 19:13:58	1.17
+++ mod_mmap_static.c	2000/07/12 18:33:47
@@ -312,7 +312,7 @@
 	    ap_send_mmap (match->mm, r, 0, match->finfo.size);
 	}
 	else {
-	    long length;
+	    unsigned long length;
 	    ap_off_t offset;
 	    while (ap_each_byterange(r, &offset, &length)) {
 		ap_send_mmap(match->mm, r, offset, length);
@@ -333,7 +333,7 @@
 {
     ap_hook_post_config(mmap_post_config, NULL, NULL, AP_HOOK_MIDDLE);
     ap_hook_translate_name(mmap_static_xlat, NULL, NULL, AP_HOOK_LAST);
-};
+}
 
 static const handler_rec mmap_static_handlers[] =
 {
 {

-- 
Victor J. Orlikowski            v.j.orlikowski@gte.net
                                vjo@raleigh.ibm.com
                                vjo@us.ibm.com


Mime
View raw message