зеркало из https://github.com/mozilla/pjs.git
fix for #40051. thanks to Henrik Gemal <gemal@gemal.dk> for the patch.
r=sspitzer
This commit is contained in:
Родитель
73f32b0692
Коммит
08c1a9315e
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче