httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: svn commit: r903052 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
Date Tue, 26 Jan 2010 07:05:35 GMT
On 26.01.2010 03:25, rbowen@apache.org wrote:
> Author: rbowen
> Date: Tue Jan 26 02:25:04 2010
> New Revision: 903052
> 
> URL: http://svn.apache.org/viewvc?rev=903052&view=rev
> Log:
> Applies the patch provided in ticket 34014, enhancing the CSS abilities
> of mod_autoindex. Documentation to follow momentarily.
> 
> Modified:
>     httpd/httpd/trunk/modules/generators/mod_autoindex.c
> 
> Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=903052&r1=903051&r2=903052&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
> +++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Tue Jan 26 02:25:04 2010

> @@ -1090,9 +1094,18 @@
>      if (emit_amble) {
>          emit_preamble(r, emit_xhtml, title);
>      }
> +    
> +    autoindex_config_rec *d;
> +    d = (autoindex_config_rec *) ap_get_module_config(r->per_dir_config, &autoindex_module);
> +    
>      if (emit_H1) {
> +        if (d->style_sheet != NULL) {
> +    	    // Insert style id if stylesheet used

Please do not use C++ style comments as they fail on ANSI compilers.

Regards

RĂ¼diger


Mime
View raw message