From: wessels <> Date: Fri, 24 Apr 1998 10:52:07 +0000 (+0000) Subject: comment X-Git-Tag: SQUID_3_0_PRE1~3442 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5e36424cdd7943a58d25f9aee4f4559568101f1;p=thirdparty%2Fsquid.git comment --- diff --git a/src/errorpage.cc b/src/errorpage.cc index b51dbd1e81..7f252ccf45 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.127 1998/04/23 19:27:22 wessels Exp $ + * $Id: errorpage.cc,v 1.128 1998/04/24 04:52:07 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -158,7 +158,7 @@ errorTryLoadText(const char *page_name, const char *dir) file_close(fd); return NULL; } - text = xcalloc(sb.st_size + 2 + 1, 1); + text = xcalloc(sb.st_size + 2 + 1, 1); /* 2 == space for %S */ if (read(fd, text, sb.st_size) != sb.st_size) { debug(4, 0) ("errorTryLoadText: failed to fully read: '%s': %s\n", path, xstrerror());