]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix errno == 0 output
authorwessels <>
Mon, 8 Dec 1997 22:14:37 +0000 (22:14 +0000)
committerwessels <>
Mon, 8 Dec 1997 22:14:37 +0000 (22:14 +0000)
src/errorpage.cc

index 6a8ae3621a8667e9024dda0d1c06c9e1b9c9237d..ea09b2af1cb50d0bfedc6f6c9815baeefeb8f6c4 100644 (file)
@@ -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 */