Changed: #991 Make sure all debug files are created in log directory

This commit is contained in:
kervala 2010-06-21 21:10:16 +02:00
parent dac2ec8357
commit 5ab69cc44f

View file

@ -296,7 +296,7 @@ bool sendEmail (const string &smtpServer, const string &from, const string &to,
}
// debug, display what we send into a file
// { FILE *fp = fopen (CFile::findNewFile("mail.txt").c_str(), "wb");
// { FILE *fp = fopen (CFile::findNewFile(getLogDirectory() + "mail.txt").c_str(), "wb");
// fwrite (formatedBody.c_str(), 1, formatedBody.size(), fp);
// fclose (fp); }