From 5e4cd25b2c8d1ece8fb814ca824a3e3837af041a Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 21 Jun 2010 21:10:16 +0200 Subject: [PATCH] Changed: #991 Make sure all debug files are created in log directory --- code/nel/src/net/email.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/net/email.cpp b/code/nel/src/net/email.cpp index 7198215f9..313405983 100644 --- a/code/nel/src/net/email.cpp +++ b/code/nel/src/net/email.cpp @@ -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); }