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

cvs commit: httpd-2.0/modules/generators mod_autoindex.c

dreid       01/07/07 09:21:54

  Modified:    modules/generators mod_autoindex.c
  Log:
  s/cont/pool/
  
  Bring this back in line with changes to APR.
  
  Revision  Changes    Path
  1.65      +7 -7      httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- mod_autoindex.c	2001/06/27 21:54:16	1.64
  +++ mod_autoindex.c	2001/07/07 16:21:53	1.65
  @@ -224,14 +224,14 @@
       }
   
       p->type = type;
  -    p->data = data ? apr_pstrdup(arr->cont, data) : NULL;
  -    p->apply_path = apr_pstrcat(arr->cont, path, "*", NULL);
  +    p->data = data ? apr_pstrdup(arr->pool, data) : NULL;
  +    p->apply_path = apr_pstrcat(arr->pool, path, "*", NULL);
   
       if ((type == BY_PATH) && (!ap_is_matchexp(to))) {
  -	p->apply_to = apr_pstrcat(arr->cont, "*", to, NULL);
  +	p->apply_to = apr_pstrcat(arr->pool, "*", to, NULL);
       }
       else if (to) {
  -	p->apply_to = apr_pstrdup(arr->cont, to);
  +	p->apply_to = apr_pstrdup(arr->pool, to);
       }
       else {
   	p->apply_to = NULL;
  @@ -325,13 +325,13 @@
   			     || apr_is_fnmatch(to));
       if (desc_entry->wildcards) {
   	prefix = desc_entry->full_path ? "*/" : "*";
  -	desc_entry->pattern = apr_pstrcat(dcfg->desc_list->cont,
  +	desc_entry->pattern = apr_pstrcat(dcfg->desc_list->pool,
   					 prefix, to, "*", NULL);
       }
       else {
  -	desc_entry->pattern = apr_pstrdup(dcfg->desc_list->cont, to);
  +	desc_entry->pattern = apr_pstrdup(dcfg->desc_list->pool, to);
       }
  -    desc_entry->description = apr_pstrdup(dcfg->desc_list->cont, desc);
  +    desc_entry->description = apr_pstrdup(dcfg->desc_list->pool, desc);
       return NULL;
   }