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:26:33 GMT
stoddard    02/03/07 14:26:33

  Modified:    modules/experimental mod_mem_cache.c
  Log:
  Alignment tweaks. No function change.
  
  Revision  Changes    Path
  1.27      +10 -10    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.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mod_mem_cache.c	7 Mar 2002 22:13:15 -0000	1.26
  +++ mod_mem_cache.c	7 Mar 2002 22:26:33 -0000	1.27
  @@ -455,17 +455,17 @@
                                       apr_ssize_t *nelts, 
                                       apr_table_t *table)
   {
  -   apr_table_entry_t *elts = (apr_table_entry_t *) table->a.elts;
  -   apr_ssize_t i;
  -   apr_size_t len = 0;
  -   apr_size_t idx = 0;
  -   char *buf;
  +    apr_table_entry_t *elts = (apr_table_entry_t *) table->a.elts;
  +    apr_ssize_t i;
  +    apr_size_t len = 0;
  +    apr_size_t idx = 0;
  +    char *buf;
      
  -   *nelts = table->a.nelts;
  -   if (*nelts == 0 ) {
  -       *obj=NULL;
  -       return APR_SUCCESS;
  -   }
  +    *nelts = table->a.nelts;
  +    if (*nelts == 0 ) {
  +        *obj=NULL;
  +        return APR_SUCCESS;
  +    }
       *obj = calloc(1, sizeof(cache_header_tbl_t) * table->a.nelts);
       if (NULL == *obj) {
           return APR_ENOMEM;
  
  
  

Mime
View raw message