You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2001/12/21 18:17:26 UTC

cvs commit: httpd-2.0/modules/experimental mod_disk_cache.c

trawick     01/12/21 09:17:26

  Modified:    modules/experimental mod_disk_cache.c
  Log:
  get mod_disk_cache to compile
  
  Revision  Changes    Path
  1.11      +3 -3      httpd-2.0/modules/experimental/mod_disk_cache.c
  
  Index: mod_disk_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_disk_cache.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- mod_disk_cache.c	2001/09/04 07:59:55	1.10
  +++ mod_disk_cache.c	2001/12/21 17:17:26	1.11
  @@ -63,7 +63,7 @@
   #include "http_log.h"
   #include "util_filter.h"
   
  -module MODULE_VAR_EXPORT disk_cache_module;
  +module AP_MODULE_DECLARE_DATA disk_cache_module;
   
   static int disk_serve(request_rec *r)
   {
  @@ -145,7 +145,7 @@
       } 
       APR_BRIGADE_FOREACH(e, bb) {
           const char *str;
  -        apr_ssize_t length;
  +        apr_size_t length;
   
           apr_bucket_read(e, &str, &length, APR_BLOCK_READ);
           apr_file_write(ctx->fd, str, &length);
  @@ -162,7 +162,7 @@
       ap_hook_serve_cache(disk_serve, NULL, NULL, APR_HOOK_MIDDLE);
   }
   
  -module MODULE_VAR_EXPORT disk_cache_module = {
  +module AP_MODULE_DECLARE_DATA disk_cache_module = {
       STANDARD20_MODULE_STUFF,
       NULL,			/* create per-directory config structure */
       NULL,        		/* merge per-directory config structures */