added to config: parameter static_auth_dir_tmp

with a path to directory for tmp files (for upload functino)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@572 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-02-12 17:05:32 +00:00
parent 7e0014865e
commit 796985472a
6 changed files with 25 additions and 17 deletions

View File

@@ -9,6 +9,7 @@
#include "log.h"
#include <ctime>
#include <string.h>
Log::Log()
@@ -179,6 +180,16 @@ return *this;
}
void Log::SystemErr(int err)
{
(*this) << "errno: " << err;
const char * err_msg = strerror(err);
if( err_msg )
(*this) << " (" << err_msg << ")";
}
void Log::SaveLog()
{