]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Stop appending sig to every errorpage file load.
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Oct 2008 03:24:43 +0000 (16:24 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Oct 2008 03:24:43 +0000 (16:24 +1300)
src/errorpage.cc

index 19508b7f6e033c09013d58e379bcf40594abc13b..97b94105eb3afdac27e695ab0146df5e632a5bb7 100644 (file)
@@ -308,9 +308,6 @@ errorTryLoadText(const char *page_name, const char *dir, bool silent)
 
     file_close(fd);
 
-    if (strstr(textbuf.buf, "%s") == NULL)
-        textbuf.append("%S", 2);       /* add signature */
-
     /* Shrink memory size down to exact size. MemBuf has a tencendy
      * to be rather large..
      */