You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2002/01/18 05:39:09 UTC

[patch] indentation of autogenerated config

We use 4 spaces indent in the code, but autogenerated config uses 3. 
This patch fixes the autogenerator to use 4 spaces.

Index: Apache-Test/lib/Apache/TestConfig.pm
===================================================================
RCS file: 
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.121
diff -u -r1.121 TestConfig.pm

--- Apache-Test/lib/Apache/TestConfig.pm	14 Jan 2002 06:44:10 -0000	
1.121
+++ Apache-Test/lib/Apache/TestConfig.pm	18 Jan 2002 04:36:46 -0000
@@ -349,16 +349,16 @@
              while (my($k,$v) = each %$hash) {
                  if (ref($v) eq 'ARRAY') {
                      for (@$v) {
-                        $args .= "   $k $_\n";
+                        $args .= "    $k $_\n";
                      }
                  }
                  else {
-                    $args .= "   $k $v\n";
+                    $args .= "    $k $v\n";
                  }
              }
          }
          else {
-            $args .= "   $hash";
+            $args .= "    $hash";
          }
          $args .= "</$directive>\n";
      }

-- 


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/