remove timezone from logs, as it screws up on windows.

Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
This commit is contained in:
Jan Vidar Krey 2009-03-21 04:11:14 +01:00
parent 408829e330
commit e9915df87c

View File

@ -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);