fixed: when demonizing there were some logs info put twice in the log file
now we first demonize (fork) and then open the log file added: start adding support for PT::Date we are using instead of tz system structure git-svn-id: svn://ttmath.org/publicrep/winix/trunk@836 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This file is a part of Winix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008-2011, Tomasz Sowa
|
||||
* Copyright (c) 2008-2012, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
@@ -86,6 +86,7 @@ void Request::Clear()
|
||||
|
||||
start_time = 0;
|
||||
memset(&start_tm, 0, sizeof(start_tm));
|
||||
start_date.Clear();
|
||||
|
||||
subdomain.clear();
|
||||
}
|
||||
@@ -99,6 +100,7 @@ void Request::RequestStarts()
|
||||
|
||||
start_time = std::time(0);
|
||||
start_tm = Time(start_time);
|
||||
start_date = start_time;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user