From: wessels <> Date: Mon, 8 Dec 1997 22:14:37 +0000 (+0000) Subject: fix errno == 0 output X-Git-Tag: SQUID_3_0_PRE1~4364 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d87e3588064614c6ec383dbd257e457fc3cbcd9;p=thirdparty%2Fsquid.git fix errno == 0 output --- diff --git a/src/errorpage.cc b/src/errorpage.cc index 6a8ae3621a..ea09b2af1c 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.111 1997/12/06 05:16:55 wessels Exp $ + * $Id: errorpage.cc,v 1.112 1997/12/08 15:14:37 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -239,7 +239,7 @@ errorConvert(char token, ErrorState * err) if (err->xerrno) snprintf(buf, CVT_BUF_SZ, "(%d) %s", err->xerrno, strerror(err->xerrno)); else - snprintf(buf, CVT_BUF_SZ, "(%d) -unknown-", err->xerrno); + snprintf(buf, CVT_BUF_SZ, "[No Error]"); break; case 'f': /* FTP REQUEST LINE */