]> granicus.if.org Git - apache/commitdiff
indentation. no code change
authorAndré Malo <nd@apache.org>
Thu, 24 Jul 2003 22:24:40 +0000 (22:24 +0000)
committerAndré Malo <nd@apache.org>
Thu, 24 Jul 2003 22:24:40 +0000 (22:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100780 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 42143d0bfd944bc63dcf108a7e9ab9cda7045912..c6f097ec27615550a103679ec5c48d75c56d8ef7 100644 (file)
@@ -1152,25 +1152,25 @@ static int hook_uri2file(request_rec *r)
     apr_table_setn(r->subprocess_env, ENVVAR_SCRIPT_URI, var);
 
     if (!(saved_rulestatus = apr_table_get(r->notes,"mod_rewrite_rewritten"))) {
-    /* if filename was not initially set,
-     * we start with the requested URI
-     */
-    if (r->filename == NULL) {
-        r->filename = apr_pstrdup(r->pool, r->uri);
-        rewritelog(r, 2, "init rewrite engine with requested uri %s",
-                   r->filename);
-    }
-    else {
-        rewritelog(r, 2, "init rewrite engine with passed filename %s."
-                   " Original uri = %s", r->filename, r->uri);
-    }
+        /* if filename was not initially set,
+         * we start with the requested URI
+         */
+        if (r->filename == NULL) {
+            r->filename = apr_pstrdup(r->pool, r->uri);
+            rewritelog(r, 2, "init rewrite engine with requested uri %s",
+                       r->filename);
+        }
+        else {
+            rewritelog(r, 2, "init rewrite engine with passed filename %s."
+                       " Original uri = %s", r->filename, r->uri);
+        }
 
-    /*
-     *  now apply the rules ...
-     */
-    rulestatus = apply_rewrite_list(r, conf->rewriterules, NULL);
-    apr_table_set(r->notes,"mod_rewrite_rewritten",
-                  apr_psprintf(r->pool,"%d",rulestatus));
+        /*
+         *  now apply the rules ...
+         */
+        rulestatus = apply_rewrite_list(r, conf->rewriterules, NULL);
+        apr_table_set(r->notes,"mod_rewrite_rewritten",
+                      apr_psprintf(r->pool,"%d",rulestatus));
     }
     else {
         rewritelog(r, 2,