From: rousskov <> Date: Wed, 3 Jun 1998 03:50:21 +0000 (+0000) Subject: - replaced "" with "nothing" for FTP history escapes. "" is X-Git-Tag: SQUID_3_0_PRE1~3195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8af3a3585b03026f8f92740ba21add6c4f4129a;p=thirdparty%2Fsquid.git - replaced "" with "nothing" for FTP history escapes. "" is treated as an unknown HTML tag by a browser and the user gets an empty line instead of a message that no communication has been recorded. --- diff --git a/src/errorpage.cc b/src/errorpage.cc index 030d0c8680..6da39703f5 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.136 1998/06/02 04:18:19 wessels Exp $ + * $Id: errorpage.cc,v 1.137 1998/06/02 21:50:21 rousskov Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -393,14 +393,14 @@ errorConvert(char token, ErrorState * err) if (err->ftp.request) p = err->ftp.request; else - p = ""; + p = "nothing"; break; case 'F': /* FTP REPLY LINE */ if (err->ftp.request) p = err->ftp.reply; else - p = ""; + p = "nothing"; break; case 'g': /* FTP SERVER MESSAGE */