remove timezone from logs, as it screws up on windows.
Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
This commit is contained in:
parent
408829e330
commit
e9915df87c
@ -178,7 +178,7 @@ void hub_log(int log_verbosity, const char *format, ...)
|
|||||||
{
|
{
|
||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
tmp = localtime(&t);
|
tmp = localtime(&t);
|
||||||
strftime(timestamp, 32, "%Y-%m-%d %H:%M:%S %z", tmp);
|
strftime(timestamp, 32, "%Y-%m-%d %H:%M:%S", tmp);
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
vsnprintf(logmsg, 1024, format, args);
|
vsnprintf(logmsg, 1024, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
Loading…
Reference in New Issue
Block a user