From: Amos Jeffries Date: Mon, 27 Oct 2008 03:24:43 +0000 (+1300) Subject: Stop appending sig to every errorpage file load. X-Git-Tag: SQUID_3_2_0_1~1372^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2345b77988b31c2fb925ceee15cd92459218bf24;p=thirdparty%2Fsquid.git Stop appending sig to every errorpage file load. --- diff --git a/src/errorpage.cc b/src/errorpage.cc index 19508b7f6e..97b94105eb 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -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.. */