fix for #40051. thanks to Henrik Gemal <gemal@gemal.dk> for the patch.

r=sspitzer
This commit is contained in:
sspitzer%netscape.com 2000-06-21 01:17:32 +00:00
Родитель 73f32b0692
Коммит 08c1a9315e
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -19,6 +19,7 @@
*
* Contributor(s):
* Pierre Phaneuf <pp@ludusdesign.com>
* Henrik Gemal <gemal@gemal.dk>
*/
#include "nsNNTPHost.h"
@ -510,7 +511,7 @@ nsNNTPHost::CreateFileHeader()
LL_L2I(firstnewdate, m_firstnewdate);
PR_snprintf(m_block, m_blockSize,
"# Netscape newshost information file." MSG_LINEBREAK
"# News host information file." MSG_LINEBREAK
"# This is a generated file! Do not edit." MSG_LINEBREAK
"" MSG_LINEBREAK
"version=1" MSG_LINEBREAK

Просмотреть файл

@ -20,6 +20,7 @@
* Contributor(s):
* Seth Spitzer <sspitzer@netscape.com>
* David Bienvenu <bienvenu@netscape.com>
* Henrik Gemal <gemal@gemal.dk>
*/
#include "nsNntpIncomingServer.h"
@ -725,7 +726,7 @@ nsNntpIncomingServer::WriteHostInfoFile()
printf("xxx todo missing some formatting, need to fix this, see nsNNTPHost.cpp\n");
#endif
hostinfoStream << "# Netscape newshost information file." << MSG_LINEBREAK;
hostinfoStream << "# News host information file." << MSG_LINEBREAK;
hostinfoStream << "# This is a generated file! Do not edit." << MSG_LINEBREAK;
hostinfoStream << "" << MSG_LINEBREAK;
hostinfoStream << "version=1" << MSG_LINEBREAK;