time is a time_t pointer
This commit is contained in:
parent
1f6ee9ec44
commit
cf29fc075a
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ int time_printf_hook(printf_hook_data_t *data, printf_hook_spec_t *spec,
|
|||
bool utc = *((bool*)(args[1]));;
|
||||
struct tm t;
|
||||
|
||||
if (time == UNDEFINED_TIME)
|
||||
if (*time == UNDEFINED_TIME)
|
||||
{
|
||||
return print_in_hook(data, "--- -- --:--:--%s----",
|
||||
utc ? " UTC " : " ");
|
||||
|
|
Loading…
Reference in a new issue