* mu-log.c: cosmetics
This commit is contained in:
@ -231,6 +231,8 @@ log_write (const char* domain, GLogLevelFlags level,
|
|||||||
/* log lines will be truncated at 255 chars */
|
/* log lines will be truncated at 255 chars */
|
||||||
char buf [512], timebuf [32];
|
char buf [512], timebuf [32];
|
||||||
|
|
||||||
|
g_return_if_fail (MU_LOG);
|
||||||
|
|
||||||
/* get the time/date string */
|
/* get the time/date string */
|
||||||
now = time(NULL);
|
now = time(NULL);
|
||||||
strftime (timebuf, sizeof(timebuf), "%F %T", localtime(&now));
|
strftime (timebuf, sizeof(timebuf), "%F %T", localtime(&now));
|
||||||
|
|||||||
Reference in New Issue
Block a user