]> granicus.if.org Git - apache/commitdiff
Fix some formatting
authorBill Stoddard <stoddard@apache.org>
Sun, 17 Mar 2002 22:20:50 +0000 (22:20 +0000)
committerBill Stoddard <stoddard@apache.org>
Sun, 17 Mar 2002 22:20:50 +0000 (22:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93985 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_dir.c

index 08f43bcaa7c01f370d5b9d2b72a10a7135388f39..bfff24789a80470cdad50c837465e9c3690fb31f 100644 (file)
@@ -126,7 +126,7 @@ static int fixup_dir(request_rec *r)
 
     /* only handle requests against directories */
     if (r->finfo.filetype != APR_DIR) {
-           return DECLINED;
+        return DECLINED;
     }
     
     /* In case mod_mime wasn't present, and no handler was assigned. */
@@ -170,16 +170,16 @@ static int fixup_dir(request_rec *r)
     }
 
     d = (dir_config_rec *) ap_get_module_config(r->per_dir_config,
-                                               &dir_module);
+                                                &dir_module);
 
     if (d->index_names) {
-       names_ptr = (char **)d->index_names->elts;
-       num_names = d->index_names->nelts;
+        names_ptr = (char **)d->index_names->elts;
+        num_names = d->index_names->nelts;
     }
     else {
-       dummy_ptr[0] = AP_DEFAULT_INDEX;
-       names_ptr = dummy_ptr;
-       num_names = 1;
+        dummy_ptr[0] = AP_DEFAULT_INDEX;
+        names_ptr = dummy_ptr;
+        num_names = 1;
     }
 
     for (; num_names; ++names_ptr, --num_names) {