fix for #40051. thanks to Henrik Gemal <gemal@gemal.dk> for the patch.
r=sspitzer git-svn-id: svn://10.0.0.236/trunk@72716 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a5c5ec8bf1
commit
ec061ef297
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user