You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 1998/01/17 10:56:47 UTC

[PATCH] for PR#1667, mod_autoindex
 in wrong place

Here's the patch supplied with PR#1667 against the latest
HEAD.

#ken	P-)}

Index: src/modules/standard/mod_autoindex.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/standard/mod_autoindex.c,v
retrieving revision 1.61
diff -u -r1.61 mod_autoindex.c
--- mod_autoindex.c     1998/01/07 16:46:45     1.61
+++ mod_autoindex.c     1998/01/17 09:51:18
@@ -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);