coar        98/01/20 10:48:44

  Modified:    src/modules/standard mod_autoindex.c
  Log:
        Move the <PRE> prefix for plaintext header files to before
        the header file emission, rather than before the page preamble.
  
  PR:           1667
  Submitted by: John Van Essen <[EMAIL PROTECTED]>
  Reviewed by:  Dean Gaudet, Ken Coar, Jim Jagielski
  
  Revision  Changes    Path
  1.62      +1 -1      apachen/src/modules/standard/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/modules/standard/mod_autoindex.c,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- mod_autoindex.c   1998/01/07 16:46:45     1.61
  +++ mod_autoindex.c   1998/01/20 18:48:42     1.62
  @@ -544,7 +544,6 @@
        plaintext = 1;
        if (hrule)
            rputs("<HR>\n", r);
  -     rputs("<PRE>\n", r);
       }
       else if (hrule)
        rputs("<HR>\n", r);
  @@ -570,6 +569,7 @@
       else {
        char buf[IOBUFSIZE + 1];
        int i, n, c, ch;
  +     rputs("<PRE>\n", r);
        while (!feof(f)) {
            do
                n = fread(buf, sizeof(char), IOBUFSIZE, f);
  
  
  

Reply via email to