Added missing initialization of values

A call to localtime_r was done with an uninitialized time_t value.
This commit is contained in:
Markus Makela 2015-11-23 18:33:59 +02:00
parent 62b0e5fab0
commit c6982b863a

View File

@ -540,6 +540,7 @@ static bool file_write_header(
return true;
#endif
t = time(NULL);
localtime_r(&t, &tm);
header_buf1 = "\n\nMariaDB Corporation MaxScale " MAXSCALE_VERSION "\t";