httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: hey Dean, are you sure you indented mod_proxy?
Date Tue, 16 Dec 1997 02:28:37 GMT
Yeah I'm sure I did.  Feel free to do it again however.  gnu indent and
bsd indent do different things.  Both are wrong in different ways :) 

Dean

On Mon, 15 Dec 1997, Marc Slemko wrote:

> Why do I see:
> 
>     /* Save the path - it will be re-appended for the redirection later */
>     path = strchr(&url_copy[2], '/');
>     if (path != NULL)
>         ++path;                 /* leading '/' will be overwritten by proxy_cano
> n_netloc */
>     else
>         path = "";
> 
> ?  (ugly long comments all over)
> 
> If I indent it here it goes to:
> 
>     /* Save the path - it will be re-appended for the redirection later */
>     path = strchr(&url_copy[2], '/');
>     if (path != NULL)
>         ++path;                 /* leading '/' will be overwritten by
>                                  * proxy_canon_netloc */
>     else
>         path = "";
> 
> 
> 


Mime
View raw message