* mu-log.c: cosmetics

This commit is contained in:
Dirk-Jan C. Binnema
2011-09-03 10:46:17 +03:00
parent 520307a2b1
commit 9cb879ab64

View File

@ -231,6 +231,8 @@ log_write (const char* domain, GLogLevelFlags level,
/* log lines will be truncated at 255 chars */
char buf [512], timebuf [32];
g_return_if_fail (MU_LOG);
/* get the time/date string */
now = time(NULL);
strftime (timebuf, sizeof(timebuf), "%F %T", localtime(&now));