httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject hey Dean, are you sure you indented mod_proxy?
Date Tue, 16 Dec 1997 00:38:27 GMT
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